Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ELM 101

David Anguita
September 08, 2017

ELM 101

David Anguita

September 08, 2017
Tweet

More Decks by David Anguita

Other Decks in Technology

Transcript

  1. • Purely functional (looks like Haskell) • Expressive syntax •

    Statically typed • Immutable data structures • Very nice debugger • Compiles to JavaScript
  2. Model — the state of your application Update — a

    way to update the state View — a way to view your state as HTML
  3. Command — triggers an event identified by a Message type

    Subscription — listens for external input