From 9d16808e1b6dd2fb7ab3eb5712d9842e77d57631 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 10 Apr 2015 10:00:50 +0200 Subject: Typos in error messages and in comments --- compiler/utils/GraphOps.hs | 4 ++-- compiler/utils/Pretty.hs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'compiler/utils') 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. -- cgit v1.2.1