Skip to content

Chapter 5: Lists and tuples

5.1 Lists

Building lists

Strings are just lists

Lists of lists

5.2 Tuples

A different notion of many

Tuples within tuples (and other combinations)

5.3 Retrieving values

Pending questions

5.4 Polymorphic types

Example: fst and snd

5.5 Summary

5.6 Notes