module Of_stringable_sexpable: functor (
T
:
sig
include Stringable.S
include Sexpable.S
end
) ->
S
with type identifiable = T.stringable
Of_stringable_sexpable
, Of_stringable
and Of_sexpable
creates an identiable 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.
type
identifiable
include Stringable.S
include Comparable.S
include Hashable.S_binable
include Sexpable.S
include Binable.S
val pp : Format.formatter -> identifiable -> unit