File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ New features:
11
11
Bugfixes:
12
12
13
13
Other improvements:
14
+ - Fix warnings revealed by ` v0.14.1 ` PS release (#262 )
14
15
15
16
## [ v5.0.0] ( https://github.com/purescript/purescript-prelude/releases/tag/v5.0.0 ) - 2021-02-26
16
17
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ instance genericOrdNoArguments :: GenericOrd NoArguments where
19
19
instance genericOrdSum :: (GenericOrd a , GenericOrd b ) => GenericOrd (Sum a b ) where
20
20
genericCompare' (Inl a1) (Inl a2) = genericCompare' a1 a2
21
21
genericCompare' (Inr b1) (Inr b2) = genericCompare' b1 b2
22
- genericCompare' (Inl b1 ) (Inr b2 ) = LT
23
- genericCompare' (Inr b1 ) (Inl b2 ) = GT
22
+ genericCompare' (Inl _ ) (Inr _ ) = LT
23
+ genericCompare' (Inr _ ) (Inl _ ) = GT
24
24
25
25
instance genericOrdProduct :: (GenericOrd a , GenericOrd b ) => GenericOrd (Product a b ) where
26
26
genericCompare' (Product a1 b1) (Product a2 b2) =
You can’t perform that action at this time.
0 commit comments