Purely Functional Data Structures

Purely Functional Data Structures

by Chris Okasaki
     
 

Most books on data structures assume an imperative language like 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 so that programmers can… See more details below

Overview

Most books on data structures assume an imperative language like 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 so that programmers can develop their own functional data structures. It 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 can easily be adapted 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.

Product Details

ISBN-13:
9780521631242
Publisher:
Cambridge University Press
Publication date:
04/13/1998
Pages:
232
Product dimensions:
6.20(w) x 9.10(h) x 0.80(d)

Table of Contents

Preface
1Introduction1
2Persistence7
3Some Familiar Data Structures in a Functional Setting17
4Lazy Evaluation31
5Fundamentals of Amortization39
6Amortization and Persistence via Lazy Evaluation57
7Eliminating Amortization83
8Lazy Rebuilding99
9Numerical Representations115
10Data-Structural Bootstrapping141
11Implicit Recursive Slowdown171
AHaskell Source Code185
Bibliography207
Index217

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >