projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5c2b2
)
[project @ 2001-12-06 10:45:14 by simonpj]
author
simonpj
<unknown>
Thu, 6 Dec 2001 10:45:14 +0000
(10:45 +0000)
committer
simonpj
<unknown>
Thu, 6 Dec 2001 10:45:14 +0000
(10:45 +0000)
Comments only
ghc/compiler/hsSyn/HsBinds.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/hsSyn/HsBinds.lhs
b/ghc/compiler/hsSyn/HsBinds.lhs
index
d30ff27
..
4f66055
100644
(file)
--- a/
ghc/compiler/hsSyn/HsBinds.lhs
+++ b/
ghc/compiler/hsSyn/HsBinds.lhs
@@
-109,6
+109,10
@@
data MonoBinds id pat
-- and variables f = \x -> e
-- Reason: the Match stuff lets us have an optional
-- result type sig f :: a->a = ...mentions a...
+ --
+ -- This also means that instance decls can only have
+ -- FunMonoBinds, so if you change this, you'll need to
+ -- change e.g. rnMethodBinds
Bool -- True => infix declaration
[Match id pat]
SrcLoc