mirror of
https://github.com/c-cube/sidekick.git
synced 2026-01-24 18:36:43 -05:00
24 lines
379 B
OCaml
24 lines
379 B
OCaml
|
|
(* This file is free software. See file "license" for more details. *)
|
|
|
|
module type EQ = sig
|
|
type t
|
|
val equal : t -> t -> bool
|
|
end
|
|
|
|
module type ORD = sig
|
|
type t
|
|
val compare : t -> t -> int
|
|
end
|
|
|
|
module type HASH = sig
|
|
type t
|
|
val hash : t -> int
|
|
end
|
|
|
|
module type PRINT = sig
|
|
type t
|
|
val pp : t CCFormat.printer
|
|
end
|
|
|
|
type 'a printer = Format.formatter -> 'a -> unit
|