Created
July 3, 2016 09:44
-
-
Save BlackDante/8743a5945672d726950c810e08439571 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
update : Msg -> Model -> Model | |
update msg model = | |
case msg of | |
Change newContent -> | |
{ model | content = newContent } | |
Click newContent -> | |
{ model | counter + 1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment