module Make:functor (T:sigtypetval t_of_sexp :Sexplib.Sexp.t -> tval sexp_of_t :t -> Sexplib.Sexp.tval compare :t -> t -> intend) ->Swith type t := T.t
module Foo = struct
module T = struct
type t = ... with compare, sexp
end
include T
include Comparable.Make (T)
end
Then include Comparable.S in the signature (see comparable_intf.mli for an
example).
| Parameters: |
|
include Comparable_intf.S_common
module Map:Core_map.Swith type Key.t = twith type Key.comparator = comparator
module Set:Core_set.Swith type Elt.t = twith type Elt.comparator = comparator