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_Default/index.html

Module Deriving_Default

module type Default = sig ... end
module Defaults (D : Default) : Default with type a = D.a
module Default_string : Default with type a = string
module Default_int64 : Default with type a = int64
module Default_int : Default with type a = int
module Default_bool : Default with type a = bool
module Default_unit : Default with type a = unit
module Default_char : Default with type a = char
module Default_float : Default with type a = float
module Default_list (A : Default) : Default with type a = A.a list
module Default_option (A : Default) : Default with type a = A.a option
module Default_array (A : Default) : Default with type a = A.a array
module Default_ref (A : Default) : Default with type a = A.a ref
OCaml

Innovation. Community. Security.