Base.Sexpable
Provides functors for making modules sexpable. New code should use the [@@deriving
sexp]
syntax directly. These module types (S
, S1
, S2
, and S3
) are exported for backwards compatibility only.
module type S = sig ... end
module type S1 = sig ... end
module type S2 = sig ... end
module type S3 = sig ... end
For when you want the sexp representation of one type to be the same as that for some other isomorphic type.
module Of_stringable (M : Stringable.S) : S with type t := M.t