summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2015-04-10 10:00:50 +0200
committerGabor Greif <ggreif@gmail.com>2015-04-10 10:00:50 +0200
commit9d16808e1b6dd2fb7ab3eb5712d9842e77d57631 (patch)
treed574d81a21d82998860c15c8d9c8d320d55fa928 /compiler/utils
parentfa46c597db9939de1de4bc9b917c8dc1d9e2093a (diff)
downloadhaskell-9d16808e1b6dd2fb7ab3eb5712d9842e77d57631.tar.gz
Typos in error messages and in comments
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/GraphOps.hs4
-rw-r--r--compiler/utils/Pretty.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/utils/GraphOps.hs b/compiler/utils/GraphOps.hs
index 804153dad2..ba0db0f9f9 100644
--- a/compiler/utils/GraphOps.hs
+++ b/compiler/utils/GraphOps.hs
@@ -270,7 +270,7 @@ addPreference (u, c) color
u
--- | Do agressive coalescing on this graph.
+-- | Do aggressive coalescing on this graph.
-- returns the new graph and the list of pairs of nodes that got coaleced together.
-- for each pair, the resulting node will have the least key and be second in the pair.
--
@@ -322,7 +322,7 @@ coalesceGraph' aggressive triv graph kkPairsAcc
pairs -> coalesceGraph' aggressive triv graph' (reverse pairs ++ kkPairsAcc)
--- | Coalesce this pair of nodes unconditionally \/ agressively.
+-- | Coalesce this pair of nodes unconditionally \/ aggressively.
-- The resulting node is the one with the least key.
--
-- returns: Just the pair of keys if the nodes were coalesced
diff --git a/compiler/utils/Pretty.hs b/compiler/utils/Pretty.hs
index 5e441838fc..061689ef58 100644
--- a/compiler/utils/Pretty.hs
+++ b/compiler/utils/Pretty.hs
@@ -448,7 +448,7 @@ The argument of @NilAbove@ is never @Empty@. Therefore
a @NilAbove@ occupies at least two lines.
\item
-The arugment of @TextBeside@ is never @Nest@.
+The argument of @TextBeside@ is never @Nest@.
\item
The layouts of the two arguments of @Union@ both flatten to the same string.