Last active
September 27, 2017 23:50
-
-
Save jchavarri/ecfe40e115e74a2cc56ae349872e1312 to your computer and use it in GitHub Desktop.
Reason: variant type
This file contains hidden or 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 shape = | |
| | Circle float | |
| | Rectangle float float | |
| | Prism float float float; | |
| let rect = Rectangle 2.5 5.0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment