We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b27e51 + 594cf36 commit 6520f39Copy full SHA for 6520f39
src/Data/NonEmpty.purs
@@ -42,7 +42,7 @@ singleton a = NonEmpty a empty
42
(:|) = NonEmpty
43
44
-- | Fold a non-empty structure, collecting results using a binary operation.
45
-foldl1 :: forall f a s. (Foldable f) => (a -> a -> a) -> NonEmpty f a -> a
+foldl1 :: forall f a. (Foldable f) => (a -> a -> a) -> NonEmpty f a -> a
46
foldl1 f (NonEmpty a fa) = foldl f a fa
47
48
-- | Fold a non-empty structure, collecting results in a `Semigroup`.
0 commit comments