Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created March 28, 2016 23:19
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 chuck0523/8d21d754c7cc68218979 to your computer and use it in GitHub Desktop.
Save chuck0523/8d21d754c7cc68218979 to your computer and use it in GitHub Desktop.
type alias Model =
{ topCounter : Counter.Model
, bottomCounter : Counter.Model
}
init : Int -> Int -> Model
init top bottom =
{ topCounter = Counter.init top
, bottomCounter = Counter.init bottom
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment