|
|
Variants are what is known as an `enum` in other languages, although variants are much more powerful in OCaml: they can hold data of different types. |
|
To use a variant, use a `match` statement. |
|