Elm

functional language

  1. types
  2. immutable
  3. functors, monds ...

Elm project

  • elm-repl
  • elm-reactor
  • elm-make
  • elm-package

Elm architecture

  • Model
  • Update
  • View

Redux

import Html exposing (..)

-- MODEL
type alias Model = { ... }

-- UPDATE
type Msg = Reset | ...
update : Msg -> Model -> Model
update msg model =
  case msg of
    Reset -> ...
    ...

-- VIEW
view : Model -> Html Msg
view model =

Elm

By Vladimir