[commit: ghc] master: MonadUtils: Typos in comments (a9251c6)
git at git.haskell.org
git at git.haskell.org
Tue Jul 26 14:48:10 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a9251c6158217271f0e59b8b91b69fe932e3e77f/ghc
>---------------------------------------------------------------
commit a9251c6158217271f0e59b8b91b69fe932e3e77f
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date: Tue Jul 26 14:47:43 2016 +0000
MonadUtils: Typos in comments
>---------------------------------------------------------------
a9251c6158217271f0e59b8b91b69fe932e3e77f
compiler/utils/MonadUtils.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/utils/MonadUtils.hs b/compiler/utils/MonadUtils.hs
index 812e4e8..d1c0adb 100644
--- a/compiler/utils/MonadUtils.hs
+++ b/compiler/utils/MonadUtils.hs
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
-- | Utilities related to Monad and Applicative classes
--- Mostly for backwards compatability.
+-- Mostly for backwards compatibility.
module MonadUtils
( Applicative(..)
@@ -126,7 +126,7 @@ mapAndUnzip5M f (x:xs) = do
-- | Monadic version of mapAccumL
mapAccumLM :: Monad m
- => (acc -> x -> m (acc, y)) -- ^ combining funcction
+ => (acc -> x -> m (acc, y)) -- ^ combining function
-> acc -- ^ initial state
-> [x] -- ^ inputs
-> m (acc, [y]) -- ^ final state, outputs
More information about the ghc-commits
mailing list