Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3058c4a9
Commit
3058c4a9
authored
Oct 13, 2003
by
simonpj
Browse files
[project @ 2003-10-13 10:41:30 by simonpj]
Cosmetics
parent
b716bc2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/coreSyn/PprCore.lhs
View file @
3058c4a9
...
...
@@ -349,8 +349,7 @@ pprIdRule (id,rule) = pprCoreRule (ppr id) rule
pprCoreRule :: SDoc -> CoreRule -> SDoc
pprCoreRule pp_fn (BuiltinRule name _)
= ifPprDebug (ptext SLIT("Built in rule for") <+> pp_fn <> colon
<+> doubleQuotes (ftext name))
= ptext SLIT("Built in rule for") <+> pp_fn <> colon <+> doubleQuotes (ftext name)
pprCoreRule pp_fn (Rule name act tpl_vars tpl_args rhs)
= doubleQuotes (ftext name) <+> ppr act <+>
...
...
ghc/compiler/coreSyn/Subst.lhs
View file @
3058c4a9
...
...
@@ -130,7 +130,7 @@ lookupInScope (InScope in_scope n) v
uniqAway :: InScopeSet -> Var -> Var
-- (uniqAway in_scope v) finds a unique that is not used in the
-- in-scope set, and gives that to v. It starts with v's current unique, of course,
-- in the hope that it won't have to change it,
n
ad thereafter uses a combination
-- in the hope that it won't have to change it, a
n
d thereafter uses a combination
-- of that and the hash-code found in the in-scope set
uniqAway (InScope set n) var
| not (var `elemVarSet` set) = var -- Nothing to do
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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