diff options
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Binary.hs | 2 | ||||
-rw-r--r-- | compiler/utils/Digraph.hs | 2 | ||||
-rw-r--r-- | compiler/utils/FastString.hs | 4 | ||||
-rw-r--r-- | compiler/utils/GraphBase.hs | 2 | ||||
-rw-r--r-- | compiler/utils/GraphColor.hs | 2 | ||||
-rw-r--r-- | compiler/utils/GraphOps.hs | 2 | ||||
-rw-r--r-- | compiler/utils/Outputable.hs | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/compiler/utils/Binary.hs b/compiler/utils/Binary.hs index 94a09288b5..f363976626 100644 --- a/compiler/utils/Binary.hs +++ b/compiler/utils/Binary.hs @@ -670,7 +670,7 @@ Consider a valie like `2724268014499746065`, some sort of hash actually generated by GHC. In the old scheme this was encoded as a list of 19 chars. This gave a size of 77 Bytes, one for the length of the list and 76 -since we encod chars as Word32 as well. +since we encode chars as Word32 as well. We can easily do better. The new plan is: diff --git a/compiler/utils/Digraph.hs b/compiler/utils/Digraph.hs index c205c45d8d..49ded1b23f 100644 --- a/compiler/utils/Digraph.hs +++ b/compiler/utils/Digraph.hs @@ -464,7 +464,7 @@ instance Outputable EdgeType where newtype Time = Time Int deriving (Eq,Ord,Num,Outputable) ---Allow for specialzation +--Allow for specialization {-# INLINEABLE classifyEdges #-} -- | Given a start vertex, a way to get successors from a node diff --git a/compiler/utils/FastString.hs b/compiler/utils/FastString.hs index 62a81aa10d..f11c4ebbb8 100644 --- a/compiler/utils/FastString.hs +++ b/compiler/utils/FastString.hs @@ -20,7 +20,7 @@ -- -- * Pointer and size of a Latin-1 encoded string. -- * Practically no operations. --- * Outputing them is fast. +-- * Outputting them is fast. -- * Generated by 'sLit'. -- * Turn into 'Outputable.SDoc' with 'Outputable.ptext' -- * Requires manual memory management. @@ -73,7 +73,7 @@ module FastString nilFS, isUnderscoreFS, - -- ** Outputing + -- ** Outputting hPutFS, -- ** Internal diff --git a/compiler/utils/GraphBase.hs b/compiler/utils/GraphBase.hs index b66599356e..a165b003ba 100644 --- a/compiler/utils/GraphBase.hs +++ b/compiler/utils/GraphBase.hs @@ -87,7 +87,7 @@ data Node k cls color -- | Colors that cannot be used by this node. , nodeExclusions :: UniqSet color - -- | Colors that this node would prefer to be, in decending order. + -- | Colors that this node would prefer to be, in descending order. , nodePreference :: [color] -- | Neighbors that this node would like to be colored the same as. diff --git a/compiler/utils/GraphColor.hs b/compiler/utils/GraphColor.hs index 4c1388e91d..82ec522357 100644 --- a/compiler/utils/GraphColor.hs +++ b/compiler/utils/GraphColor.hs @@ -76,7 +76,7 @@ colorGraph iterative spinCount colors triv spill graph0 -- We need to apply all the coalescences found by the scanner to the original -- graph before doing assignColors. -- - -- Because we've got the whole, non-pruned graph here we turn on aggressive coalecing + -- Because we've got the whole, non-pruned graph here we turn on aggressive coalescing -- to force all the (conservative) coalescences found during scanning. -- (graph_scan_coalesced, _) diff --git a/compiler/utils/GraphOps.hs b/compiler/utils/GraphOps.hs index 0a7981b0c8..cc8668ea45 100644 --- a/compiler/utils/GraphOps.hs +++ b/compiler/utils/GraphOps.hs @@ -233,7 +233,7 @@ addExclusions u getClass colors graph = foldr (addExclusion u getClass) graph colors --- | Add a coalescence edge to the graph, creating nodes if requried. +-- | Add a coalescence edge to the graph, creating nodes if required. -- It is considered adventageous to assign the same color to nodes in a coalesence. addCoalesce :: Uniquable k diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs index b200bd79db..6717430a58 100644 --- a/compiler/utils/Outputable.hs +++ b/compiler/utils/Outputable.hs @@ -39,7 +39,7 @@ module Outputable ( coloured, keyword, - -- * Converting 'SDoc' into strings and outputing it + -- * Converting 'SDoc' into strings and outputting it printSDoc, printSDocLn, printForUser, printForUserPartWay, printForC, bufLeftRenderSDoc, pprCode, mkCodeStyle, |