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.

Fix a typo in the Repr.compare documentation. (#14281)

authored by

Jeremy Yallop and committed by
GitHub
e39fcc48 f0249620

+1 -1
+1 -1
stdlib/repr.mli
··· 47 47 defined above, with one difference on the treatment of the float value 48 48 {!Stdlib.nan}. Namely, the comparison predicates treat [nan] 49 49 as different from any other float value, including itself; 50 - while [repr] treats [nan] as equal to itself and less than any 50 + while [compare] treats [nan] as equal to itself and less than any 51 51 other float value. This treatment of [nan] ensures that [compare] 52 52 defines a total ordering relation. 53 53