Elm: functional programming in your browser
Alex Troush
DisclaimerTrolling is a part of show and not (mostly!) reflect the opinion of the author
Function Concepts you need to know nowImmutable data
First-class functions
Pure Functions
Recursion
Elm hello worldimport Html exposing (span, text)import Html.Attributes exposing (class)
main = span [class "welcome-message"] [text "Hello, World!"]
Html AS a FUNCTIONma
MODEL -> UPDATE -> VIEW
1 billion dollar application
GIF LOADING APPCats
ELM SEXY ERROR MESSAGESfoo = List.nap
Elm elm elm
Thank you all! Follow me @troush69