Created
April 16, 2016 09:01
-
-
Save chuck0523/0cbbbbfc21a5e189072104ee599796b7 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
type alias Model = | |
{ todoId : ID | |
, todoText : String | |
, done : Bool | |
} | |
init : ID -> String -> Model | |
init passedId addedText = | |
{ todoId = passedId | |
, todoText = addedText | |
, done = False | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment