mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
Add CCEqual.physical
This commit is contained in:
parent
3c808f397e
commit
aa0f34c5c9
2 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
type 'a t = 'a -> 'a -> bool
|
||||
|
||||
let poly = Pervasives.(=)
|
||||
let physical = Pervasives.(==)
|
||||
|
||||
let int : int t = (=)
|
||||
let string : string t = Pervasives.(=)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ type 'a t = 'a -> 'a -> bool
|
|||
val poly : 'a t
|
||||
(** Standard polymorphic equality *)
|
||||
|
||||
val physical : 'a t
|
||||
(** Standard physical equality
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val int : int t
|
||||
val string : string t
|
||||
val bool : bool t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue