Purely Functional Data Structures

Purely Functional Data Structures

Chris Okasaki1999
This book describes data structures and data structure design techniques for functional languages.
Sign up to use

Highlights

Photo of Aske Dørge
Aske Dørge@aske

In Section 9.2.3, we saw how lazy redundant binary numbers support both increment and decrement functions in O(1) amortized time. In Section 10.1.2, we saw how non-uniform types and polymorphic recursion afford particularly simple implementations of numerical representations such as binary random-access lists. In this chapter, we combine and generalize these techniques into a framework called implicit recursive slowdown.

App test 5