Skip to content

Commit 2e15e79

Browse files
Fix Foldable1 instance; update CI to v0.14.0-rc5 (#32)
* Remove fold1 member from Foldable1 instance * Update CI to v0.14.0-rc5 * Remove non-existent `fold1Default` from being imported
1 parent fe8f2fa commit 2e15e79

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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/Lazy.purs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Data.Functor.Invariant (class Invariant, imapF)
1212
import Data.FunctorWithIndex (class FunctorWithIndex)
1313
import Data.HeytingAlgebra (implies, ff, tt)
1414
import Data.Ord (class Ord1)
15-
import Data.Semigroup.Foldable (class Foldable1, fold1Default)
15+
import Data.Semigroup.Foldable (class Foldable1)
1616
import Data.Semigroup.Traversable (class Traversable1)
1717
import Data.Traversable (class Traversable, traverse)
1818
import Data.TraversableWithIndex (class TraversableWithIndex)
@@ -101,7 +101,6 @@ instance foldableWithIndexLazy :: FoldableWithIndex Unit Lazy where
101101

102102
instance foldable1Lazy :: Foldable1 Lazy where
103103
foldMap1 f l = f (force l)
104-
fold1 = fold1Default
105104
foldr1 _ l = force l
106105
foldl1 _ l = force l
107106

0 commit comments

Comments
 (0)