Chapter 14: Pattern matching
14.1 Analysing pattern matching
14.2 The connection with constructors
Why does it work with lists?
Tuple constructors
14.3 Matching literal values
14.4 Syntax tricks
As-patterns
Introduction to records
14.5 Where we can use pattern matching
Equations
Lambda abstractions
List comprehensions
do blocks
14.6 Notes