Front cover image for Purely functional data structures

Purely functional data structures

"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."--Jacket
Print Book, English, 1998
Cambridge University Press, Cambridge, U.K., 1998
x, 220 pages : illustrations ; 24 cm
9780521631242, 9780521663502, 0521631246, 0521663504
38521530
Introduction
Persistence
Some familiar data structures in a functional setting
Lazy evaluation
Fundamentals of amortization
Amortization and persistence via lazy evaluation
Eliminating amortization
Lazy rebuilding
Numerical representations
Data-structural bootstrapping
Implicit recursive slowdown
Appendix: Haskell source code