Description
Variant constructors can gain generated accessors and iteration helpers. This helps developers inspect and handle variant cases without writing repetitive boilerplate for each constructor.
It is a PPX code-generation extension. It is mainly used by OCaml projects that need first-class variant metadata.