···3636 if and only if their current contents are structurally equal,
3737 even if the two mutable objects are not the same physical object.
3838 Equality between functional values raises [Invalid_argument].
3939- Equality between cyclic data structures may not terminate.
4040- Left-associative operator, see {!Ocaml_operators} for more information. *)
3939+ Equality between cyclic data structures may not terminate. *)
41404241external compare : 'a -> 'a -> int = "%compare"
4342(** [compare x y] returns [0] if [x] is equal to [y],
+5-3
stdlib/stdlib.mli
···119119(** {1 Comparisons} *)
120120121121external ( = ) : 'a -> 'a -> bool = "%equal"
122122-(** Alias of {!Repr.equal} *)
122122+(** Alias of {!Repr.equal}
123123+ Left-associative operator, see {!Ocaml_operators} for more information.
124124+*)
123125124126external ( <> ) : 'a -> 'a -> bool = "%notequal"
125127(** Negation of {!Repr.equal}.
···163165(** Alias of {!Repr.max}. *)
164166165167external ( == ) : 'a -> 'a -> bool = "%eq"
166166-(** Operator alias to {!Repr.phys_equal}.
167167- Left-associative operator, see {!Ocaml_operators} for more information.
168168+(** Alias of {!Repr.phys_equal}.
169169+ Left-associative operator, see {!Ocaml_operators} for more information.
168170*)
169171170172external ( != ) : 'a -> 'a -> bool = "%noteq"