Created
June 15, 2017 11:03
-
-
Save deque-blog/1ac4906ab308fc42212934290116211e 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
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