Kamis, 08 Mei 2014

[R230.Ebook] Free Ebook Purely Functional Data Structures, by Chris Okasaki

Free Ebook Purely Functional Data Structures, by Chris Okasaki

Exactly how if there is a website that allows you to hunt for referred book Purely Functional Data Structures, By Chris Okasaki from all around the globe publisher? Immediately, the site will certainly be extraordinary completed. Numerous book collections can be found. All will be so easy without complex point to relocate from website to site to obtain guide Purely Functional Data Structures, By Chris Okasaki wanted. This is the site that will give you those expectations. By following this site you can obtain lots numbers of publication Purely Functional Data Structures, By Chris Okasaki collections from variants kinds of author as well as publisher prominent in this world. Guide such as Purely Functional Data Structures, By Chris Okasaki as well as others can be gained by clicking great on web link download.

Purely Functional Data Structures, by Chris Okasaki

Purely Functional Data Structures, by Chris Okasaki



Purely Functional Data Structures, by Chris Okasaki

Free Ebook Purely Functional Data Structures, by Chris Okasaki

Learn the technique of doing something from many sources. Among them is this book qualify Purely Functional Data Structures, By Chris Okasaki It is a very well understood publication Purely Functional Data Structures, By Chris Okasaki that can be referral to read now. This recommended publication is among the all great Purely Functional Data Structures, By Chris Okasaki compilations that are in this website. You will also discover other title and motifs from numerous authors to look right here.

If you obtain the printed book Purely Functional Data Structures, By Chris Okasaki in on-line book shop, you could additionally find the very same issue. So, you need to relocate store to shop Purely Functional Data Structures, By Chris Okasaki as well as hunt for the available there. Yet, it will not take place below. Guide Purely Functional Data Structures, By Chris Okasaki that we will certainly supply here is the soft documents idea. This is just what make you can effortlessly discover and get this Purely Functional Data Structures, By Chris Okasaki by reading this website. We provide you Purely Functional Data Structures, By Chris Okasaki the best item, constantly and always.

Never doubt with our offer, because we will constantly give what you need. As similar to this updated book Purely Functional Data Structures, By Chris Okasaki, you might not discover in the other area. But here, it's really simple. Simply click and download and install, you can have the Purely Functional Data Structures, By Chris Okasaki When convenience will alleviate your life, why should take the complicated one? You could purchase the soft file of the book Purely Functional Data Structures, By Chris Okasaki here and be member people. Besides this book Purely Functional Data Structures, By Chris Okasaki, you could additionally find hundreds listings of guides from several sources, collections, publishers, and also authors in around the globe.

By clicking the web link that we provide, you could take guide Purely Functional Data Structures, By Chris Okasaki completely. Connect to internet, download, as well as conserve to your tool. Exactly what else to ask? Checking out can be so simple when you have the soft data of this Purely Functional Data Structures, By Chris Okasaki in your device. You can also copy the documents Purely Functional Data Structures, By Chris Okasaki to your workplace computer system or at home or perhaps in your laptop computer. Just share this excellent news to others. Suggest them to visit this page and get their looked for books Purely Functional Data Structures, By Chris Okasaki.

Purely Functional Data Structures, by Chris Okasaki

Most books on data structures assume an imperative language such as C or C++. However, data structures for these languages do not always translate well to functional languages such as Standard ML, Haskell, or Scheme. This book describes data structures from the point of view of functional languages, with examples, and presents design techniques that allow programmers to develop their own functional data structures. The author includes both classical data structures, such as red-black trees and binomial queues, and a host of new data structures developed exclusively for functional languages. All source code is given in Standard ML and Haskell, and most of the programs are easily adaptable to other functional languages. This handy reference for professional programmers working with functional languages can also be used as a tutorial or for self-study.

  • Sales Rank: #137933 in Books
  • Brand: Brand: Cambridge University Press
  • Published on: 1999-06-13
  • Original language: English
  • Number of items: 1
  • Dimensions: 8.98" h x .51" w x 5.98" l, .85 pounds
  • Binding: Paperback
  • 232 pages
Features
  • Used Book in Good Condition

Review
"This book is important because it presents data structures from the point of view of functional languages...a handy reference for professional functional programmers...Most of the programs can easily be adapted to other functional languages. Even C and Java programmers should find implementing these data structures a relatively straightforward process...Programs are physically well structured and readable, and are displayed in boxes. Okasaki has produced a valuable book about functional programming, exploring a wide range of data structures...a significant contribution to the computer science literature." Computing Reviews

About the Author
fm.author_biographical_note1

Most helpful customer reviews

27 of 27 people found the following review helpful.
One of my favorite computer science books
By David Bakin
[This review copied from my moribund blog at [...] ]

The typical data structures most programmers know and use require imperative programming: they fundamentally depend on replacing the values of fields with assignment statements, especially pointer fields. A particular data structure represents the state of something at that particular moment in time, and that moment only. If you want to know what the state was in the past you needed to have made a copy of the entire data structure back then, and kept it around until you needed it. (Alternatively, you could keep a log of changes made to the data structure that you could play in reverse until you get the previous state - and then play it back forwards to get back to where you are now. Both these techniques are typically used to implement undo/redo, for example.)

Or you could use a persistent data structure. A persistent data structure allows you to access previous versions at any time without having to do any copying. All you needed to do at the time was to save a pointer to the data structure. If you have a persistent data structure, your undo/redo implementation is simply a stack of pointers that you push a pointer onto after you make any change to the data structure.

This can be quite useful--but it is typically very hard to implement a persistent data structure in an imperative language, especially if you have to worry about memory management [1]. If you're using a functional programming language--especially a language with lazy semantics like Haskell--then all your data structures are automatically persistent, and your only problem is efficiency (and of course, in your functional languages, the language system takes care of memory management). But for practical purposes, as a hardcore C++ programmer for professional purposes, I was locked out of the world of persistent data structures.

Now, however, with C# and C++/CLI in use (and garbage collection coming to C++ any time now ... [2]) I can at last contemplate the use of persistent data structures in my designs. And that's great, because it gave me an excuse to take one of my favorite computer science books off the shelf and give it another read.

The book is Purely Functional Data Structures, by Chris Okasaki. I find it to be a very well written and easy to understand introduction to the design and analysis of persistent data structures--or equivalently--for the design and analysis of any data structure you'd want to use in a functional language.

There are two key themes of the book: First, to describe the use and implementation of several persistent data structures, such as different kinds of heaps, queues, and random-access lists, and second, to describe how to create your own efficient persistent data structures.

A nice feature here is the inclusion of "Hint to Practitioners" sidebars that point out which of these data structures work especially well in various contexts.

The second theme is the more demanding one--but of course, it is teaching something really valuable. First, the methods of analyzing amortized time taken by operations in a data structure are fully explained. The two basic techniques are the "banker's method" and the "physicist's method", and they have to do with different ways of accounting for time spent in in the different operations on a data structure so that bounds on the time spent can be computed. (The "credits" and "debits" used for accounting for time are not reflected in the code for the data structure - they are "virtual" and only used for the analysis.) Then, Okasaki adapts these methods to work for persistent data structures, and provides several fully worked out examples.

With analysis of persistent data structures explained he then goes on to describe several methods of creating efficient persistent data structures from non-persistent data structures. These methods are lazy rebuilding,use of numerical representations in building data structures, data-structural bootstrapping, and implicit recursive slowdown. These methods are all interesting, but the one which is most fun (and for me, the easiest to understand) is the use of numerical representations. In this method data structures are built by composing smaller structures in a form that is similar to the representation of a binary number--and merging and deleting items from the data structure is modeled as adding or subtracting from a number. Also, different kinds of binary number representations are used, and the use of base 3 and base 4 numbers is mentioned. [3]

The persistent data structures described are given with code (in an ML variant that includes explicit notations for lazy evaluation, and also in Haskell). After the book was published the data structures described were "productized" into a Haskell library called Edison, originally written by Chris Okasaki, but which is now maintained and enhanced by Robert Dockins and available at [...]

--------------------------------------------------------------------------------
1: A good starting point to look for papers on the subject of imperative persistent data structures is to search for papers co-authored by Robert E Tarjan with the word "persistent" in the title.

2: GC is part of the C++0x language and compilers will be required to support it, so that means we'll get to use it by 2015, I'm sure!

3: You can get the flavor of this kind of thing from this paper by Ralf Hinze - [...]

0 of 0 people found the following review helpful.
It is a great challenge to read and gives a great view of ...
By Amazon Customer
A very interesting book on data structures in Functional Programming. The concepts can be applied to any Functional Programming Language. NOT for the faint of heart though, I would suggest knowing and have a firm grasp of the Functional Programming Paradigm and confident in a Functional Programming Language (e.g. Haskell, Erlang etc). Knowing about Data Structures as well (such as Heaps, Linked Lists etc) is a must as well.
It is a great challenge to read and gives a great view of data structures you would never have thought of.

23 of 23 people found the following review helpful.
Haskell speakers may be daunted.
By Cliff L. Biffle
Despite the editorial description of the book, the book is really about Standard ML. It happens to have an appendix where source code has been translated -- out of order, and without reference to the text -- into Haskell. This makes it very difficult to read through the book without speaking Standard ML.

The exercises, also, are only SML. Several appear to use idiosyncratic SML features -- I say "appear" because no answers to the exercises, even the basic ones, are provided for me to check my understanding.

Essentially, the content is good, but expect to learn Standard ML to really get the most out of this book.

See all 20 customer reviews...

Purely Functional Data Structures, by Chris Okasaki PDF
Purely Functional Data Structures, by Chris Okasaki EPub
Purely Functional Data Structures, by Chris Okasaki Doc
Purely Functional Data Structures, by Chris Okasaki iBooks
Purely Functional Data Structures, by Chris Okasaki rtf
Purely Functional Data Structures, by Chris Okasaki Mobipocket
Purely Functional Data Structures, by Chris Okasaki Kindle

Purely Functional Data Structures, by Chris Okasaki PDF

Purely Functional Data Structures, by Chris Okasaki PDF

Purely Functional Data Structures, by Chris Okasaki PDF
Purely Functional Data Structures, by Chris Okasaki PDF

Tidak ada komentar:

Posting Komentar