Utils: add Compare.Z
This commit is contained in:
parent
a3474ae496
commit
636fecb6ff
@ -37,6 +37,7 @@ module Int64 : S with type t = int64
|
||||
module Uint64 : S with type t = int64
|
||||
module Float : S with type t = float
|
||||
module String : S with type t = string
|
||||
module Z : S with type t = Z.t
|
||||
|
||||
module List (P : COMPARABLE) : S with type t = P.t list
|
||||
module Option (P : COMPARABLE) : S with type t = P.t option
|
||||
|
@ -115,3 +115,5 @@ module Uint64 = MakeUnsigned (Int64) (struct let zero = 0L end)
|
||||
|
||||
module Float = Make (struct type t = float let compare = Pervasives.compare end)
|
||||
module String = Make (String)
|
||||
|
||||
module Z = Make (Z)
|
||||
|
@ -37,6 +37,7 @@ module Int64 : S with type t = int64
|
||||
module Uint64 : S with type t = int64
|
||||
module Float : S with type t = float
|
||||
module String : S with type t = string
|
||||
module Z : S with type t = Z.t
|
||||
|
||||
module List (P : COMPARABLE) : S with type t = P.t list
|
||||
module Option (P : COMPARABLE) : S with type t = P.t option
|
||||
|
Loading…
Reference in New Issue
Block a user