Slide 43
Slide 43 text
TYPES, GOTTA LOVE THEM ALL!
TYPES ARE UNIVERSES
▸ Types describe the universe of
things: Universe of number,
colours, actions…
▸ You can map from an universe to
another using a function
▸ Types are very similar to functions
in many aspects. For example they
can be composed!
▸ In Elm, types are cheap to create
and to compose