Skip to content

Commit 54e5474

Browse files
authored
Remove fold1 from the Foldable1 instance for NonEmptySet (#43)
* Remove fold1 from the Foldable1 instance for NonEmptySet * Update the compiler version used on CI to 0.14.0-rc5
1 parent d004644 commit 54e5474

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: purescript-contrib/setup-purescript@main
1616
with:
17-
purescript: "0.14.0-rc3"
17+
purescript: "0.14.0-rc5"
1818

1919
- uses: actions/setup-node@v1
2020
with:

src/Data/Set/NonEmpty.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ derive newtype instance foldableNonEmptySet :: Foldable NonEmptySet
5252

5353
instance foldable1NonEmptySet :: Foldable1 NonEmptySet where
5454
foldMap1 f = foldMap1 f <<< (toUnfoldable1 :: forall a. NonEmptySet a -> NonEmptyList a)
55-
fold1 = foldMap1 identity
5655
foldr1 f = foldr1 f <<< (toUnfoldable1 :: forall a. NonEmptySet a -> NonEmptyList a)
5756
foldl1 f = foldl1 f <<< (toUnfoldable1 :: forall a. NonEmptySet a -> NonEmptyList a)
5857

0 commit comments

Comments
 (0)