FICHA · AUR

ocaml-ppx_enumerate

Generate a list containing all values of a finite type

  • ocaml-ppx-extension
  • LIBRARY
  • Dev
  • COMPILER-EXTENSION
  • Dependency only
official+codex · reviewed · Jun 2, 2026 description in en

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.

Permissions

Permissions not analysed for this source yet.