Created
March 27, 2016 22:34
-
-
Save chuck0523/6df7830b73af055017c7 to your computer and use it in GitHub Desktop.
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
-- MODEL | |
type alias Model = { ... } | |
-- UPDATE | |
type Action = Reset | ... | |
update : Action -> Model -> Model | |
update action model = | |
case action of | |
Reset -> ... | |
... | |
-- VIEW | |
view : Model -> Html | |
view = | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment