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