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:
8a412ad
)
[project @ 2001-01-26 16:13:54 by qrczak]
author
qrczak
<unknown>
Fri, 26 Jan 2001 16:13:54 +0000
(16:13 +0000)
committer
qrczak
<unknown>
Fri, 26 Jan 2001 16:13:54 +0000
(16:13 +0000)
Eta-expand to avoid monomorphism restriction.
ghc/utils/genprimopcode/Main.hs
patch
|
blob
|
history
diff --git
a/ghc/utils/genprimopcode/Main.hs
b/ghc/utils/genprimopcode/Main.hs
index
18f5ffe
..
79cdada
100644
(file)
--- a/
ghc/utils/genprimopcode/Main.hs
+++ b/
ghc/utils/genprimopcode/Main.hs
@@
-495,7
+495,7
@@
optdef d p
sel12 a b = a
sel22 a b = b
sel23 a b c = b
-apply = liftM
+apply f p = liftM f p
-- Hacks for zapping whitespace and comments, unfortunately needed
-- because Daan won't let us have a lexer before the parser :-(