diff options
author | Ross Paterson <ross@soi.city.ac.uk> | 2006-02-09 00:49:01 +0000 |
---|---|---|
committer | Ross Paterson <ross@soi.city.ac.uk> | 2006-02-09 00:49:01 +0000 |
commit | 359978a6a2bc35d70589e4208989e855b0de4c89 (patch) | |
tree | d11673e05878bc3b07761e8b4ddb9589b718549d | |
parent | 0aaf0b91b945ae0f4830f65f45d7712c88ae4435 (diff) | |
download | haskell-359978a6a2bc35d70589e4208989e855b0de4c89.tar.gz |
typo in comment in Foldable class
-rw-r--r-- | libraries/base/Data/Foldable.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs index fcba1596ed..01eff042ce 100644 --- a/libraries/base/Data/Foldable.hs +++ b/libraries/base/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. |