Skip to content

Commit b784309

Browse files
authored
Fix type annotation precedence
This will break in a future release.
1 parent d0fa312 commit b784309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Set/NonEmpty.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ derive newtype instance semigroupNonEmptySet :: Ord a => Semigroup (NonEmptySet
5151
derive newtype instance foldableNonEmptySet :: Foldable NonEmptySet
5252

5353
instance foldable1NonEmptySet :: Foldable1 NonEmptySet where
54-
foldMap1 f = foldMap1 f <<< toUnfoldable1 :: forall a. NonEmptySet a -> NonEmptyList a
54+
foldMap1 f = foldMap1 f <<< (toUnfoldable1 :: forall a. NonEmptySet a -> NonEmptyList a)
5555
fold1 = foldMap1 identity
5656

5757
instance showNonEmptySet :: Show a => Show (NonEmptySet a) where

0 commit comments

Comments
 (0)