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
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
394
Merge Requests
394
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
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
Glasgow Haskell Compiler
GHC
Commits
abeb2bbc
Commit
abeb2bbc
authored
Jun 30, 2014
by
Jan Stolarek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code. Fix comment typo.
parent
d5c6fd6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
compiler/hsSyn/HsExpr.lhs
compiler/hsSyn/HsExpr.lhs
+1
-3
compiler/hsSyn/HsUtils.lhs
compiler/hsSyn/HsUtils.lhs
+1
-1
No files found.
compiler/hsSyn/HsExpr.lhs
View file @
abeb2bbc
...
...
@@ -79,8 +79,6 @@ noSyntaxExpr = HsLit (HsString (fsLit "noSyntaxExpr"))
type CmdSyntaxTable id = [(Name, SyntaxExpr id)]
-- See Note [CmdSyntaxTable]
noSyntaxTable :: CmdSyntaxTable id
noSyntaxTable = []
\end{code}
Note [CmdSyntaxtable]
...
...
@@ -88,7 +86,7 @@ Note [CmdSyntaxtable]
Used only for arrow-syntax stuff (HsCmdTop), the CmdSyntaxTable keeps
track of the methods needed for a Cmd.
* Before the renamer, this list is
'noSyntaxTable'
* Before the renamer, this list is
an empty list
* After the renamer, it takes the form @[(std_name, HsVar actual_name)]@
For example, for the 'arr' method
...
...
compiler/hsSyn/HsUtils.lhs
View file @
abeb2bbc
...
...
@@ -4,7 +4,7 @@
Here we collect a variety of helper functions that construct or
analyse HsSyn. All these functions deal with generic HsSyn; functions
which deal with the intantiated versions are located elsewhere:
which deal with the in
s
tantiated versions are located elsewhere:
Parameterised by Module
---------------- -------------
...
...
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