package deriving

  1. Overview
  2. Docs
Extension to OCaml for deriving functions from type declarations

Install

Dune Dependency

Authors

Maintainers

Sources

0.8.1.tar.gz
sha256=080a1c983cee6f72a6cc28d9ddf056eb6d4e81daf58c192970e29a5ba03f63fa
md5=59558a23583fbc0c7c139f6ed22fbb54

doc/deriving.runtime/Deriving_Enum/index.html

Module Deriving_Enum

module type Enum = sig ... end
module Defaults (E : sig ... end) : Enum with type a = E.a
module Defaults' (E : sig ... end) (B : Deriving_Bounded.Bounded with type a = E.a) : Enum with type a = B.a
module Enum_bool : Enum with type a = bool
module Enum_char : Enum with type a = char
module Enum_int : Enum with type a = int
module Enum_unit : Enum with type a = unit
OCaml

Innovation. Community. Security.