Skip to content

Chapter 15: Control structures

15.1 if and guards revisited

Embedding if expressions

15.2 Short-circuit operators

Avoiding excessive effort

Avoidance of error conditions

15.3 case expressions

15.4 Controlling actions, revisited

A note about return

15.5 Notes