diff options
author | Alexander Berntsen <alexander@plaimi.net> | 2015-05-06 07:52:29 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-05-06 07:53:21 -0500 |
commit | fa0474da6954a3e57785fe703acc83e2fecef88f (patch) | |
tree | 96bed5314f9d23c40b2110f4a91aa861698db52b | |
parent | 477f514f6ebcf783810da93e2191e4b6ea65559b (diff) | |
download | haskell-fa0474da6954a3e57785fe703acc83e2fecef88f.tar.gz |
base: Fix confusing docs typo
Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D872
-rw-r--r-- | libraries/base/Data/Traversable.hs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/base/Data/Traversable.hs b/libraries/base/Data/Traversable.hs index aaea44b23a..cc72392539 100644 --- a/libraries/base/Data/Traversable.hs +++ b/libraries/base/Data/Traversable.hs @@ -145,10 +145,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 |