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 e3253fc commit 82c1738Copy full SHA for 82c1738
containers/src/Data/Sequence/Internal.hs
@@ -2192,6 +2192,9 @@ instance Functor ViewL where
2192
fmap f (x :< xs) = f x :< fmap f xs
2193
2194
instance Foldable ViewL where
2195
+ foldMap _ EmptyL = mempty
2196
+ foldMap f (x :< xs) = f x <> foldMap f xs
2197
+
2198
foldr _ z EmptyL = z
2199
foldr f z (x :< xs) = f x (foldr f z xs)
2200
0 commit comments