From: Ross Paterson Date: Thu, 9 Feb 2006 00:49:01 +0000 (+0000) Subject: typo in comment in Foldable class X-Git-Tag: directory_2007-05-24~333 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=55b2727bb2152d03ced3c4dae39b3f5b11703631;p=haskell-directory.git typo in comment in Foldable class --- diff --git a/Data/Foldable.hs b/Data/Foldable.hs index fcba159..01eff04 100644 --- a/Data/Foldable.hs +++ b/Data/Foldable.hs @@ -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.