Skip to content

Instantly share code, notes, and snippets.

@rogeriochaves
Last active January 25, 2016 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogeriochaves/9bc846be8c2047dc9c33 to your computer and use it in GitHub Desktop.
Save rogeriochaves/9bc846be8c2047dc9c33 to your computer and use it in GitHub Desktop.
type alias Task =
{ description : String
, completed : Bool
, editing : Bool
, id : Int
}
type alias TaskList =
List Task
type alias Control =
{ visibility : String
}
type alias Model =
{ taskEntry : Task
, taskList : TaskList
, control : Control
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment