Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Reason # type face = | Jack | Queen | King | Ace;
type face = Jack | Queen | King | Ace
Reason # let f1 = Queen;
let f1 : face = Queen
Reason # let f2 = Ace;
let f2 : face = Ace
Reason # f1 > f2;
- : bool = false
Reason # f1 < f2;
- : bool = true
Reason # f1 == f2;
- : bool = 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.