flâneur — a map of the web's best reading

Reading 17: Recursive Data Types

web.mit.edu · 6,740 words · saved by 1 readers

In this reading we’ll look at recursively-defined types, how to specify operations on such types, and how to implement them. Our main example will be immutable lists.

Reading 17: Recursive Data Types Reading 17: Recursive Data Types Software in 6.031 Safe from bugs Easy to understand Ready for change Correct today and correct in the unknown future. Communicating clearly with future programmers, including future you. Designed to accommodate change without rewriting. Objectives Understand recursive data types Read and write data type definitions Understand and implement functions over recursive data types Understand immutable lists and know the standard operations on immutable lists Know and follow a recipe for writing programs with ADTs Introduction In this

Explore this link on the map →

related reading