Skip to content

Commit 594cf36

Browse files
committed
Remove unused type variable from foldl1
1 parent 0b27e51 commit 594cf36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/NonEmpty.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ singleton a = NonEmpty a empty
4242
(:|) = NonEmpty
4343

4444
-- | 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
45+
foldl1 :: forall f a. (Foldable f) => (a -> a -> a) -> NonEmpty f a -> a
4646
foldl1 f (NonEmpty a fa) = foldl f a fa
4747

4848
-- | Fold a non-empty structure, collecting results in a `Semigroup`.

0 commit comments

Comments
 (0)