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
Fumiaki Kinoshita
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]
~~~~~~~~~~~~~~~~~~~~~~~~~
Common special case: no type or dictionary abstraction
This is a bit less trivial than you might suppose
The naive way wou
dl be to desgu
ar to something like
The naive way wou
ld be to desug
ar to something like
f_lcl = ...f_lcl... -- The "binds" from AbsBinds
M.f = f_lcl -- Generated from "exports"
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.
This dual role is unusual, because we're replacing 'fromInteger' with
a call to fromInteger. Reason: it allows commoning up of the fromInteger
calls, which wouldn't be possible if the des
guara
r made the application.
calls, which wouldn't be possible if the des
ugare
r made the application.
The PostTcType in each branch records the type the overload literal is
found to have.
...
...
compiler/simplCore/simplifier.tib
View file @
3f9422cb
...
...
@@ -482,7 +482,7 @@ generate code, something like this:
if (y) {...code for E2...}
l1: ...code for E1...
@
In our setting, here's what will happen. First we des
gu
ar the
In our setting, here's what will happen. First we des
ug
ar the
conditional, and inline the definition of @||@:
@
case (case x of {True -> True; False -> y}) of
...
...
compiler/typecheck/TcHsType.hs
View file @
3f9422cb
...
...
@@ -2042,7 +2042,7 @@ tcLHsKindSig hs_kind
-- This zonk is very important in the case of higher rank kinds
-- E.g. Trac #13879 f :: forall (p :: forall z (y::z). <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,
-- else we may fail to substitute properly
...
...
compiler/typecheck/TcRnTypes.hs
View file @
3f9422cb
...
...
@@ -385,7 +385,7 @@ data DsGblEnv
-- iff '-fvectorise' flag was given as well as
-- exported entities of 'Data.Array.Parallel' iff
-- '-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
-- 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