projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
156fb56
)
Comment only
author
simonpj@microsoft.com
<unknown>
Tue, 18 Apr 2006 12:56:24 +0000
(12:56 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 18 Apr 2006 12:56:24 +0000
(12:56 +0000)
compiler/typecheck/TcRnTypes.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcRnTypes.lhs
b/compiler/typecheck/TcRnTypes.lhs
index
62281b5
..
f16e9a8
100644
(file)
--- a/
compiler/typecheck/TcRnTypes.lhs
+++ b/
compiler/typecheck/TcRnTypes.lhs
@@
-352,6
+352,8
@@
type ThLevel = Int
-- (always >= 0)
-- Incremented when going inside a bracket,
-- decremented when going inside a splice
+ -- NB: ThLevel is one greater than the 'n' in Fig 2 of the
+ -- original "Template meta-programmign for Haskell" paper
impLevel, topLevel :: ThLevel
topLevel = 1 -- Things defined at top level of this module