diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-03-09 10:22:28 +0100 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-03-09 10:39:24 +0100 |
commit | 9ff05742de1ec1838c0fd358b194b29c8b3ed10b (patch) | |
tree | 42d707f60d94e2f4d05260f9253e1db127d93246 | |
parent | 9e15db49b57df992184d342830ea830aabc626c9 (diff) | |
download | haskell-9ff05742de1ec1838c0fd358b194b29c8b3ed10b.tar.gz |
Comments only [ci skip]
-rw-r--r-- | compiler/coreSyn/PprCore.hs | 2 | ||||
-rw-r--r-- | compiler/iface/TcIface.hs | 2 | ||||
-rw-r--r-- | compiler/simplCore/Simplify.hs | 4 | ||||
-rw-r--r-- | compiler/typecheck/FunDeps.hs | 2 | ||||
-rw-r--r-- | compiler/typecheck/TcTypeable.hs | 2 | ||||
-rw-r--r-- | libraries/template-haskell/Language/Haskell/TH/Syntax.hs | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/compiler/coreSyn/PprCore.hs b/compiler/coreSyn/PprCore.hs index ddece8dd4b..28d35528fe 100644 --- a/compiler/coreSyn/PprCore.hs +++ b/compiler/coreSyn/PprCore.hs @@ -338,7 +338,7 @@ Furthermore, a dead case-binder is completely ignored, while otherwise, dead binders are printed as "_". -} --- THese instances are sadly orphans +-- These instances are sadly orphans instance OutputableBndr Var where pprBndr = pprCoreBinder diff --git a/compiler/iface/TcIface.hs b/compiler/iface/TcIface.hs index 2d30f52b8a..3a6a4070d2 100644 --- a/compiler/iface/TcIface.hs +++ b/compiler/iface/TcIface.hs @@ -255,7 +255,7 @@ mergeIfaceDecl d1 d2 -- -- A module that defines T as representational in both arguments -- would successfully fill both signatures, so it would be better --- if if we merged the roles of these types in some nontrivial +-- if we merged the roles of these types in some nontrivial -- way. -- -- However, we have to be very careful about how we go about diff --git a/compiler/simplCore/Simplify.hs b/compiler/simplCore/Simplify.hs index 969fb3ee05..b63e7456cd 100644 --- a/compiler/simplCore/Simplify.hs +++ b/compiler/simplCore/Simplify.hs @@ -1814,7 +1814,7 @@ tryRules env rules fn args call_cont -- many args the rule consumed occ_anald_rhs = occurAnalyseExpr rule_rhs - -- See Note [Occurence-analyse after rule firing] + -- See Note [Occurrence-analyse after rule firing] ; dump dflags rule rule_rhs ; return (Just (occ_anald_rhs, cont')) }}} where @@ -1847,7 +1847,7 @@ tryRules env rules fn args call_cont = liftIO . dumpSDoc dflags alwaysQualify flag "" $ sep [text hdr, nest 4 details] -{- Note [Occurence-analyse after rule firing] +{- Note [Occurrence-analyse after rule firing] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After firing a rule, we occurrence-analyse the instantiated RHS before simplifying it. Usually this doesn't make much difference, but it can diff --git a/compiler/typecheck/FunDeps.hs b/compiler/typecheck/FunDeps.hs index 058a971686..981702fc9b 100644 --- a/compiler/typecheck/FunDeps.hs +++ b/compiler/typecheck/FunDeps.hs @@ -52,7 +52,7 @@ Each functional dependency with one variable in the RHS is responsible for generating a single equality. For instance: class C a b | a -> b The constraints ([Wanted] C Int Bool) and [Wanted] C Int alpha -will generate the folloing FunDepEqn +will generate the following FunDepEqn FDEqn { fd_qtvs = [] , fd_eqs = [Pair Bool alpha] , fd_pred1 = C Int Bool diff --git a/compiler/typecheck/TcTypeable.hs b/compiler/typecheck/TcTypeable.hs index b67ae5466d..8dfad6d3df 100644 --- a/compiler/typecheck/TcTypeable.hs +++ b/compiler/typecheck/TcTypeable.hs @@ -125,7 +125,7 @@ There are many wrinkles: reduce the number of bindings we need to produce, we generate their KindReps once in GHC.Types. These are referred to as "built-in" KindReps below. -* Even though KindReps aren't inlined this scheme still has more of an effect on +* Even though KindReps aren't inlined, this scheme still has more of an effect on compilation time than I'd like. This is especially true in the case of families of type constructors (e.g. tuples and unboxed sums). The problem is particularly bad in the case of sums, since each arity-N tycon brings with it diff --git a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs index 466834a9a4..8be48aa291 100644 --- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs +++ b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs @@ -784,7 +784,7 @@ package `text` we find packConstr :: Constr packConstr = mkConstr textDataType "pack" [] Prefix -Here `packConstr` isn't a real data constructor, it's an ordiary +Here `packConstr` isn't a real data constructor, it's an ordinary function. Two complications * In such a case, we must take care to build the Name using |