summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2016-07-26 14:47:43 +0000
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2016-07-26 14:47:43 +0000
commita9251c6158217271f0e59b8b91b69fe932e3e77f (patch)
tree4206d4876249d84d99309f3abb50ce42fd00a6bd /compiler
parent1967d74417759ba9228100a8fed715d99b9e6d5a (diff)
downloadhaskell-a9251c6158217271f0e59b8b91b69fe932e3e77f.tar.gz
MonadUtils: Typos in comments
Diffstat (limited to 'compiler')
-rw-r--r--compiler/utils/MonadUtils.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/utils/MonadUtils.hs b/compiler/utils/MonadUtils.hs
index 812e4e8e77..d1c0adb456 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