Last active
July 16, 2020 23:59
-
-
Save austindd/d8cb557a5c9dd26c4edfed4cb1dfb7e1 to your computer and use it in GitHub Desktop.
ReasonML GADT Variants
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 t = | |
| String | |
| Int | |
| Float |
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 t = | |
| String: t | |
| Int: t | |
| Float: t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment