Last active
January 14, 2017 23:23
-
-
Save cpdean/8ccba7b26f23b27efa746f7a7e75ec6b 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
(* how is this: *) | |
type value = [ | |
| `Assoc of (string * value) list | |
| `Bool of bool | |
| `Float of float | |
| `Int of int | |
| `List of value list | |
| `Null | |
| `String of string | |
] | |
(* different from this? *) | |
type basic_color = | |
| Black | Red | Green | Yellow | Blue | Magenta | Cyan | White ;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment