Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created June 15, 2017 11:03
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 deque-blog/1ac4906ab308fc42212934290116211e to your computer and use it in GitHub Desktop.
Save deque-blog/1ac4906ab308fc42212934290116211e to your computer and use it in GitHub Desktop.
data Frame : Type where
TwoRolls : (x, y : Nat) -> Frame
Strike : Frame
roll : (x, y: Nat) -> Frame
roll x y = TwoRolls x y
strike : Frame
strike = Strike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment