The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Repr.equal is not an operator (#13914)

Co-authored-by: Hazem ElMasry <hazem-work@riseup.net>

authored by

Haz
Hazem ElMasry
and committed by
GitHub
76ec2390 60b30b93

+6 -5
+1 -2
stdlib/repr.mli
··· 36 36 if and only if their current contents are structurally equal, 37 37 even if the two mutable objects are not the same physical object. 38 38 Equality between functional values raises [Invalid_argument]. 39 - Equality between cyclic data structures may not terminate. 40 - Left-associative operator, see {!Ocaml_operators} for more information. *) 39 + Equality between cyclic data structures may not terminate. *) 41 40 42 41 external compare : 'a -> 'a -> int = "%compare" 43 42 (** [compare x y] returns [0] if [x] is equal to [y],
+5 -3
stdlib/stdlib.mli
··· 119 119 (** {1 Comparisons} *) 120 120 121 121 external ( = ) : 'a -> 'a -> bool = "%equal" 122 - (** Alias of {!Repr.equal} *) 122 + (** Alias of {!Repr.equal} 123 + Left-associative operator, see {!Ocaml_operators} for more information. 124 + *) 123 125 124 126 external ( <> ) : 'a -> 'a -> bool = "%notequal" 125 127 (** Negation of {!Repr.equal}. ··· 163 165 (** Alias of {!Repr.max}. *) 164 166 165 167 external ( == ) : 'a -> 'a -> bool = "%eq" 166 - (** Operator alias to {!Repr.phys_equal}. 167 - Left-associative operator, see {!Ocaml_operators} for more information. 168 + (** Alias of {!Repr.phys_equal}. 169 + Left-associative operator, see {!Ocaml_operators} for more information. 168 170 *) 169 171 170 172 external ( != ) : 'a -> 'a -> bool = "%noteq"