typo in comment in Foldable class
authorRoss Paterson <ross@soi.city.ac.uk>
Thu, 9 Feb 2006 00:49:01 +0000 (00:49 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Thu, 9 Feb 2006 00:49:01 +0000 (00:49 +0000)
Data/Foldable.hs

index fcba159..01eff04 100644 (file)
@@ -69,7 +69,7 @@ import GHC.Exts (build)
 -- > instance Foldable Tree
 -- >    foldMap f Empty = mempty
 -- >    foldMap f (Leaf x) = f x
--- >    foldMap f (Node l k r) = foldMap f l `mappend` f k `mappend foldMap` f r
+-- >    foldMap f (Node l k r) = foldMap f l `mappend` f k `mappend` foldMap f r
 --
 -- This is suitable even for abstract types, as the monoid is assumed
 -- to satisfy the monoid laws.