Description
All values of a finite OCaml type can be generated as a list. This helps developers test, enumerate, or display every possible case of a small variant or finite data type.
It is a PPX code-generation extension. It is most useful for projects that need exhaustive handling of small finite types.