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:
1aaf36f
)
[project @ 2002-10-09 15:37:57 by simonpj]
author
simonpj
<unknown>
Wed, 9 Oct 2002 15:37:57 +0000
(15:37 +0000)
committer
simonpj
<unknown>
Wed, 9 Oct 2002 15:37:57 +0000
(15:37 +0000)
Missing eqn in getMonoBind
ghc/compiler/parser/RdrHsSyn.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/RdrHsSyn.lhs
b/ghc/compiler/parser/RdrHsSyn.lhs
index
1ed2429
..
51bf7dd
100644
(file)
--- a/
ghc/compiler/parser/RdrHsSyn.lhs
+++ b/
ghc/compiler/parser/RdrHsSyn.lhs
@@
-401,6
+401,8
@@
getMonoBind (FunMonoBind f1 inf1 mtchs1 loc1) binds
-- and use loc2 as the final location
go mtchs loc binds = (FunMonoBind f1 inf1 mtchs loc, binds)
+getMonoBind bind binds = (bind, binds)
+
has_args ((Match args _ _) : _) = not (null args)
-- Don't group together FunMonoBinds if they have
-- no arguments. This is necessary now that variable bindings