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.
1 parent 94fcde4 commit 9516a6cCopy full SHA for 9516a6c
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