diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-03-14 12:38:50 +0100 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-03-14 12:38:50 +0100 |
commit | 50512c6b2bd878f0be5e1c7b85cadf22094aaa5a (patch) | |
tree | 42d5a0313cf414f6706ebf699faf601f1c344997 /libraries/base/GHC/Base.hs | |
parent | 08e73ccf4c75a7d7a8b8167d2ccf8bc505fe1130 (diff) | |
download | haskell-50512c6b2bd878f0be5e1c7b85cadf22094aaa5a.tar.gz |
Typos in manual and comments
Diffstat (limited to 'libraries/base/GHC/Base.hs')
-rw-r--r-- | libraries/base/GHC/Base.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index 3c3dbd3c7b..ffcd7ff2a0 100644 --- a/libraries/base/GHC/Base.hs +++ b/libraries/base/GHC/Base.hs @@ -974,14 +974,14 @@ The rules for map work like this. * The "mapFB" rule optimises compositions of map -* The "mapFB/id" rule get rids of 'map id' calls. +* The "mapFB/id" rule gets rid of 'map id' calls. You might think that (mapFB c id) will turn into c simply when mapFB is inlined; but before that happens the "mapList" rule turns (foldr (mapFB (:) id) [] a back into map id - Which is not very cleveer. + Which is not very clever. * Any similarity to the Functor laws for [] is expected. -} |