Created
August 1, 2014 17:43
-
-
Save TWolverson/d76bbc8cba74ca0ec004 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
type node = | |
| A | |
| B | |
| Empty | |
| NotANode | |
let delta centre satellite = | |
// where delta and centre are identical, +1 | |
// where delta and centre are A/B or B/A, -1 | |
// any other combination, 0 | |
// What is the syntax for matching an option against an option? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment