type <Variant> =
| <Tag> [ of <type> [ * <type> ].. ]
| <Tag> [ of <type> [ * <type> ].. ]
Polymorphic Variants
- Starts with a backtick
- Types are inferred automatically
Sep 03, 20251 min read
type <Variant> =
| <Tag> [ of <type> [ * <type> ].. ]
| <Tag> [ of <type> [ * <type> ].. ]