We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94fcde4 + 9516a6c commit 347a007Copy full SHA for 347a007
src/Data/Identity.purs
@@ -89,6 +89,8 @@ instance foldableIdentity :: Foldable Identity where
89
instance foldable1Identity :: Foldable1 Identity where
90
fold1 (Identity x) = x
91
foldMap1 f (Identity x) = f x
92
+ foldl1 _ (Identity x) = x
93
+ foldr1 _ (Identity x) = x
94
95
instance foldableWithIndexIdentity :: FoldableWithIndex Unit Identity where
96
foldrWithIndex f z (Identity x) = f unit x z
0 commit comments