Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3f9422cb
Commit
3f9422cb
authored
Jun 28, 2017
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More typos in comments [ci skip]
parent
78c80c25
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
compiler/deSugar/DsBinds.hs
compiler/deSugar/DsBinds.hs
+1
-1
compiler/hsSyn/HsLit.hs
compiler/hsSyn/HsLit.hs
+1
-1
compiler/simplCore/simplifier.tib
compiler/simplCore/simplifier.tib
+1
-1
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcHsType.hs
+1
-1
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcRnTypes.hs
+1
-1
No files found.
compiler/deSugar/DsBinds.hs
View file @
3f9422cb
...
@@ -429,7 +429,7 @@ Note [Rules and inlining]
...
@@ -429,7 +429,7 @@ Note [Rules and inlining]
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~
Common special case: no type or dictionary abstraction
Common special case: no type or dictionary abstraction
This is a bit less trivial than you might suppose
This is a bit less trivial than you might suppose
The naive way wou
d
l be to des
g
uar to something like
The naive way woul
d
be to desu
g
ar to something like
f_lcl = ...f_lcl... -- The "binds" from AbsBinds
f_lcl = ...f_lcl... -- The "binds" from AbsBinds
M.f = f_lcl -- Generated from "exports"
M.f = f_lcl -- Generated from "exports"
But we don't want that, because if M.f isn't exported,
But we don't want that, because if M.f isn't exported,
...
...
compiler/hsSyn/HsLit.hs
View file @
3f9422cb
...
@@ -161,7 +161,7 @@ This witness should replace the literal.
...
@@ -161,7 +161,7 @@ This witness should replace the literal.
This dual role is unusual, because we're replacing 'fromInteger' with
This dual role is unusual, because we're replacing 'fromInteger' with
a call to fromInteger. Reason: it allows commoning up of the fromInteger
a call to fromInteger. Reason: it allows commoning up of the fromInteger
calls, which wouldn't be possible if the des
g
uar
a
r made the application.
calls, which wouldn't be possible if the desu
g
ar
e
r made the application.
The PostTcType in each branch records the type the overload literal is
The PostTcType in each branch records the type the overload literal is
found to have.
found to have.
...
...
compiler/simplCore/simplifier.tib
View file @
3f9422cb
...
@@ -482,7 +482,7 @@ generate code, something like this:
...
@@ -482,7 +482,7 @@ generate code, something like this:
if (y) {...code for E2...}
if (y) {...code for E2...}
l1: ...code for E1...
l1: ...code for E1...
@
@
In our setting, here's what will happen. First we des
g
uar the
In our setting, here's what will happen. First we desu
g
ar the
conditional, and inline the definition of @||@:
conditional, and inline the definition of @||@:
@
@
case (case x of {True -> True; False -> y}) of
case (case x of {True -> True; False -> y}) of
...
...
compiler/typecheck/TcHsType.hs
View file @
3f9422cb
...
@@ -2042,7 +2042,7 @@ tcLHsKindSig hs_kind
...
@@ -2042,7 +2042,7 @@ tcLHsKindSig hs_kind
-- This zonk is very important in the case of higher rank kinds
-- This zonk is very important in the case of higher rank kinds
-- E.g. Trac #13879 f :: forall (p :: forall z (y::z). <blah>).
-- E.g. Trac #13879 f :: forall (p :: forall z (y::z). <blah>).
-- <more blah>
-- <more blah>
-- When instanting p's kind at occurrences of p in <more blah>
-- When instanti
ati
ng p's kind at occurrences of p in <more blah>
-- it's crucial that the kind we instantiate is fully zonked,
-- it's crucial that the kind we instantiate is fully zonked,
-- else we may fail to substitute properly
-- else we may fail to substitute properly
...
...
compiler/typecheck/TcRnTypes.hs
View file @
3f9422cb
...
@@ -385,7 +385,7 @@ data DsGblEnv
...
@@ -385,7 +385,7 @@ data DsGblEnv
-- iff '-fvectorise' flag was given as well as
-- iff '-fvectorise' flag was given as well as
-- exported entities of 'Data.Array.Parallel' iff
-- exported entities of 'Data.Array.Parallel' iff
-- '-XParallelArrays' was given; otherwise, empty
-- '-XParallelArrays' was given; otherwise, empty
,
ds_parr_bi
::
PArrBuiltin
-- desugar
a
r names for '-XParallelArrays'
,
ds_parr_bi
::
PArrBuiltin
-- desugar
e
r names for '-XParallelArrays'
,
ds_complete_matches
::
CompleteMatchMap
,
ds_complete_matches
::
CompleteMatchMap
-- Additional complete pattern matches
-- Additional complete pattern matches
}
}
...
...
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