projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2fb06a
)
fix type mistake in CodeTypes.hs
author
Adam Megacz
<megacz@cs.berkeley.edu>
Sun, 15 May 2011 06:53:03 +0000
(23:53 -0700)
committer
Adam Megacz
<megacz@cs.berkeley.edu>
Tue, 31 May 2011 21:59:10 +0000
(14:59 -0700)
GHC/HetMet/CodeTypes.hs
patch
|
blob
|
history
diff --git
a/GHC/HetMet/CodeTypes.hs
b/GHC/HetMet/CodeTypes.hs
index
255e8b4
..
d629119
100644
(file)
--- a/
GHC/HetMet/CodeTypes.hs
+++ b/
GHC/HetMet/CodeTypes.hs
@@
-33,9
+33,9
@@
hetmet_flatten ::
forall g .
GArrowSTKC g =>
forall x y.
- <[ y ]>@g
+ <[ x -> y ]>@g
->
- (g (GArrowUnit g) y)
+ (g x y)
hetmet_flatten x = unG (pga_flatten x)
-- After the flattening pass the argument and result types of this