We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75d9ae3 commit 0eced08Copy full SHA for 0eced08
src/Data/Filterable.purs
@@ -55,7 +55,7 @@ class (Functor f) <= Filterable f where
55
-- | Upgrade a boolean-style predicate to an either-style predicate mapping.
56
eitherBool :: forall a.
57
(a -> Boolean) -> a -> Either a a
58
-eitherBool p x = if p x then Left x else Right x
+eitherBool p x = if p x then Right x else Left x
59
60
-- | A default implementation of `partition` using `partitionMap`.
61
partitionDefault :: forall f a. Filterable f =>
0 commit comments