elm-explained
elm-explained copied to clipboard
Demo code to explain basic features of the Elm language
Elm explained
Some demonstration code and commentary to explain various fundamental features of the Elm language (0.19). The idea is mainly just to be able to read and understand Elm code, not so much how to use it well.
Types:
- Type aliases
- Type constructors
- Parameterised types
- Union types
- Record types
- Extensible record types
- Oddities about types
Functions:
- Various ways of defining functions
- Ways of applying functions
Ports:
- Ports explained