Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
8376027d
Commit
8376027d
authored
Oct 14, 2014
by
Jan Stolarek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comment typos: lll -> ll, THe -> The
parent
f0af3d85
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
compiler/deSugar/DsBinds.lhs
compiler/deSugar/DsBinds.lhs
+1
-1
compiler/rename/RnEnv.lhs
compiler/rename/RnEnv.lhs
+1
-1
compiler/simplCore/OccurAnal.lhs
compiler/simplCore/OccurAnal.lhs
+1
-1
compiler/simplCore/Simplify.lhs
compiler/simplCore/Simplify.lhs
+1
-1
compiler/typecheck/TcInstDcls.lhs
compiler/typecheck/TcInstDcls.lhs
+1
-1
compiler/typecheck/TcPat.lhs
compiler/typecheck/TcPat.lhs
+1
-1
compiler/typecheck/TcRnTypes.lhs
compiler/typecheck/TcRnTypes.lhs
+1
-1
compiler/typecheck/TcSMonad.lhs
compiler/typecheck/TcSMonad.lhs
+1
-1
No files found.
compiler/deSugar/DsBinds.lhs
View file @
8376027d
...
...
@@ -331,7 +331,7 @@ Notice (a) g has a different number of type variables to f, so we must
variables of the particular RHS. Tiresome.
Why got to this trouble? It's a common case, and it removes the
quadratic-sized tuple desugaring. Less clutter, hopefull
l
y faster
quadratic-sized tuple desugaring. Less clutter, hopefully faster
compilation, especially in a case where there are a *lot* of
bindings.
...
...
compiler/rename/RnEnv.lhs
View file @
8376027d
...
...
@@ -519,7 +519,7 @@ There is another wrinkle. With TH and -XDataKinds, consider
After splicing, but before renaming we get this:
data Nat_77{tc} = Zero_78{d}
data T_79{tc} = MkT_80{d} (Proxy 'Zero_78{tc}) |] )
T
H
e occurrence of 'Zero in the data type for T has the right unique,
T
h
e occurrence of 'Zero in the data type for T has the right unique,
but it has a TcClsName name-space in its OccName. (This is set by
the ctxt_ns argument of Convert.thRdrName.) When we check that is
in scope in the GlobalRdrEnv, we need to look up the DataName namespace
...
...
compiler/simplCore/OccurAnal.lhs
View file @
8376027d
...
...
@@ -1728,7 +1728,7 @@ binder-swap in OccAnal:
Notice that because MkT is strict, x is marked "evaluated". But to
eliminate the last case, we must either make sure that x (as well as
x1) has unfolding MkT y1. T
H
e straightforward thing to do is to do
x1) has unfolding MkT y1. T
h
e straightforward thing to do is to do
the binder-swap. So this whole note is a no-op.
It's fixed by doing the binder-swap in OccAnal because we can do the
...
...
compiler/simplCore/Simplify.lhs
View file @
8376027d
...
...
@@ -316,7 +316,7 @@ Nota bene:
2. It assumes that the binder type is lifted.
3. It does not check for pre-inline-unconditionall
l
y;
3. It does not check for pre-inline-unconditionally;
that should have been done already.
\begin{code}
...
...
compiler/typecheck/TcInstDcls.lhs
View file @
8376027d
...
...
@@ -1471,7 +1471,7 @@ So for the above example we generate:
$cop2 = <blah>
Note carefull
l
y:
Note carefully:
* We *copy* any INLINE pragma from the default method $dmop1 to the
instance $cop1. Otherwise we'll just inline the former in the
...
...
compiler/typecheck/TcPat.lhs
View file @
8376027d
...
...
@@ -184,7 +184,7 @@ be a subset of the *quantified type variables* of the signatures, for two reason
* With kind polymorphism a signature like
f :: forall f a. f a -> f a
may actuall
l
y give rise to
may actually give rise to
f :: forall k. forall (f::k -> *) (a:k). f a -> f a
So the sig_tvs will be [k,f,a], but only f,a are scoped.
NB: the scoped ones are not necessarily the *inital* ones!
...
...
compiler/typecheck/TcRnTypes.lhs
View file @
8376027d
...
...
@@ -1000,7 +1000,7 @@ We can't require *equal* kinds, because
Note [Kind orientation for CFunEqCan]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For (F xis ~ rhs) we require that kind(lhs) is a subkind of kind(rhs).
This reall
l
y only maters when rhs is an Open type variable (since only type
This really only maters when rhs is an Open type variable (since only type
variables have Open kinds):
F ty ~ (a:Open)
which can happen, say, from
...
...
compiler/typecheck/TcSMonad.lhs
View file @
8376027d
...
...
@@ -396,7 +396,7 @@ Type-family equations, of form (ev : F tys ~ ty), live in four places
* The inert_solved_funeqs. These are all "solved" goals (see Note [Solved constraints]),
the result of using a top-level type-family instance.
* T
H
e inert_funeqs are un-solved but fully processed and in the InertCans.
* T
h
e inert_funeqs are un-solved but fully processed and in the InertCans.
\begin{code}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment