Elm explained

May 11, 2020 ยท View on GitHub

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