Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active June 15, 2017 12:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
roll 10 0
-- COMPILE ERROR: "Can't find a value of type (LTE 10 10, LTE 11 10, LTE 1 10)"
roll 9 9
-- COMPILE ERROR: "Can't find a value of type (LTE 18 10, LTE 10 10, LTE 10 10)"
roll 0 0 -- Fine
=> TwoRolls 0 0 : Frame
roll 5 5 -- Fine
=> TwoRolls 5 5 : Frame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment