From 55b2727bb2152d03ced3c4dae39b3f5b11703631 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Thu, 9 Feb 2006 00:49:01 +0000 Subject: [PATCH] typo in comment in Foldable class --- Data/Foldable.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 1.7.10.4