package base

  1. Overview
  2. Docs
Full standard library replacement for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.15.1.tar.gz
sha256=755e303171ea267e3ba5af7aa8ea27537f3394d97c77d340b10f806d6ef61a14

doc/base/Base/Sexpable/index.html

Module Base.SexpableSource

Provides functors for making modules sexpable when you want the sexp representation of one type to be the same as that for some other isomorphic type.

Sourcemodule Of_sexpable (Sexpable : Sexplib0.Sexpable.S) (M : sig ... end) : Sexplib0.Sexpable.S with type t := M.t
Sourcemodule Of_sexpable1 (Sexpable : Sexplib0.Sexpable.S1) (M : sig ... end) : Sexplib0.Sexpable.S1 with type 'a t := 'a M.t
Sourcemodule Of_sexpable2 (Sexpable : Sexplib0.Sexpable.S2) (M : sig ... end) : Sexplib0.Sexpable.S2 with type ('a, 'b) t := ('a, 'b) M.t
Sourcemodule Of_sexpable3 (Sexpable : Sexplib0.Sexpable.S3) (M : sig ... end) : Sexplib0.Sexpable.S3 with type ('a, 'b, 'c) t := ('a, 'b, 'c) M.t

New code should use the [@@deriving sexp] syntax directly. These module types (S, S1, S2, and S3) are exported for backwards compatibility only.