Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PinCount : Nat
PinCount = 10
isSpare : Frame -> Bool
isSpare (TwoRolls x y) = x + y == PinCount
isSpare _ = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.