Created
July 21, 2019 18:26
-
-
Save jasdeepkhalsa/b50d8f2b1c03c5a75dc1221d241d96af to your computer and use it in GitHub Desktop.
Elm starter template from https://guide.elm-lang.org/architecture/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment