mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
fixup! feat(ord): add poly, deprecate compare
This commit is contained in:
parent
7081a411c8
commit
294fce8634
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ open CCShims_
|
||||||
type 'a t = 'a -> 'a -> int
|
type 'a t = 'a -> 'a -> int
|
||||||
(** Comparison (total ordering) between two elements, that returns an int *)
|
(** Comparison (total ordering) between two elements, that returns an int *)
|
||||||
|
|
||||||
|
let poly = Stdlib.compare
|
||||||
let compare = Stdlib.compare
|
let compare = Stdlib.compare
|
||||||
|
|
||||||
let opp f x y = - (f x y)
|
let opp f x y = - (f x y)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue