File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -756,7 +756,7 @@ comparing two values:
756
756
757
757
` LT ` - The first value is _ less than_ the second.
758
758
` GT ` - The first value is _ greater than_ the second.
759
- ` EQ ` - The first value is _ equal to_ or _ incomparable to _ the second.
759
+ ` EQ ` - The first value is _ equal to_ the second.
760
760
761
761
##### Instances
762
762
``` purescript
@@ -775,9 +775,10 @@ class (Eq a) <= Ord a where
775
775
compare :: a -> a -> Ordering
776
776
```
777
777
778
- The ` Ord ` type class represents types which support comparisons.
778
+ The ` Ord ` type class represents types which support comparisons with a
779
+ _ total order_ .
779
780
780
- ` Ord ` instances should satisfy the laws of _ partially orderings _ :
781
+ ` Ord ` instances should satisfy the laws of total orderings :
781
782
782
783
- Reflexivity: ` a <= a `
783
784
- Antisymmetry: if ` a <= b ` and ` b <= a ` then ` a = b `
Original file line number Diff line number Diff line change @@ -624,12 +624,13 @@ foreign import eqArrayImpl :: forall a. (a -> a -> Boolean) -> Array a -> Array
624
624
-- |
625
625
-- | `LT` - The first value is _less than_ the second.
626
626
-- | `GT` - The first value is _greater than_ the second.
627
- -- | `EQ` - The first value is _equal to_ or _incomparable to_ the second.
627
+ -- | `EQ` - The first value is _equal to_ the second.
628
628
data Ordering = LT | GT | EQ
629
629
630
- -- | The `Ord` type class represents types which support comparisons.
630
+ -- | The `Ord` type class represents types which support comparisons with a
631
+ -- | _total order_.
631
632
-- |
632
- -- | `Ord` instances should satisfy the laws of _partially orderings_ :
633
+ -- | `Ord` instances should satisfy the laws of total orderings :
633
634
-- |
634
635
-- | - Reflexivity: `a <= a`
635
636
-- | - Antisymmetry: if `a <= b` and `b <= a` then `a = b`
You can’t perform that action at this time.
0 commit comments