Slide 21
Slide 21 text
FP types
The usual Int, Float, String, Bool
suspects
Lists are like arrays
Any length – can only hold a single type
Tuples are like, er, multiples ?
Fixed length – may store multiple types
Algebraic create our own from the above
(diy) plus a part we specify (e.g. Tree Int)
Records object-like syntactic sugar
in Elm, a bit duck type-y