FICHA · AUR

ocaml-variantslib

OCaml variants as first class values

  • ocaml-library
  • LIBRARY
  • Dev
  • METADATA
  • Dependency only
official+codex · reviewed · Jun 2, 2026 description in en

Description

Variant constructors can be represented and manipulated as first-class values. This helps developers write generic code that inspects, maps, or documents variant cases with less repetition.

It is a development library. It is commonly used with generated helpers in Jane Street-style OCaml projects.

Permissions

Permissions not analysed for this source yet.