[commit: ghc] ghc-7.10: base: Fix confusing docs typo (d4cfe23)

git at git.haskell.org git at git.haskell.org
Wed May 6 13:02:17 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/d4cfe23da37c85a2c550b7eebd16709114333172/ghc

>---------------------------------------------------------------

commit d4cfe23da37c85a2c550b7eebd16709114333172
Author: Alexander Berntsen <alexander at plaimi.net>
Date:   Wed May 6 07:52:29 2015 -0500

    base: Fix confusing docs typo
    
    Signed-off-by: Alexander Berntsen <alexander at plaimi.net>
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D872
    
    (cherry picked from commit fa0474da6954a3e57785fe703acc83e2fecef88f)


>---------------------------------------------------------------

d4cfe23da37c85a2c550b7eebd16709114333172
 libraries/base/Data/Traversable.hs | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/libraries/base/Data/Traversable.hs b/libraries/base/Data/Traversable.hs
index e7caf4e..350c5ac 100644
--- a/libraries/base/Data/Traversable.hs
+++ b/libraries/base/Data/Traversable.hs
@@ -144,10 +144,9 @@ import qualified GHC.List as List ( foldr )
 class (Functor t, Foldable t) => Traversable t where
     {-# MINIMAL traverse | sequenceA #-}
 
-    -- | Map each element of a structure to an action, evaluate these
-    -- these actions from left to right, and collect the results.
-    -- actions from left to right, and collect the results. For a
-    -- version that ignores the results see 'Data.Foldable.traverse_'.
+    -- | Map each element of a structure to an action, evaluate these actions
+    -- from left to right, and collect the results. For a version that ignores
+    -- the results see 'Data.Foldable.traverse_'.
     traverse :: Applicative f => (a -> f b) -> t a -> f (t b)
     traverse f = sequenceA . fmap f
 



More information about the ghc-commits mailing list