module Of_stringable(
T
:
Stringable.S
)
:S
with type t = T.t
Of_stringable
and Of_sexpable
each create an identifiable that uses string
conversions for binable, sexpable, equality, hash, compare, and pp. Should only be
used for modules where to_string is a cheap operation or where performance is not
critical.Parameters: |
|
type
t
include Stringable.S
include Comparable.S_binable
include Hashable.S_binable
include Sexpable.S
include Binable.S
val pp : Format.formatter -> t -> unit