fix type mistake in CodeTypes.hs
authorAdam Megacz <megacz@cs.berkeley.edu>
Sun, 15 May 2011 06:53:03 +0000 (23:53 -0700)
committerAdam Megacz <megacz@cs.berkeley.edu>
Tue, 31 May 2011 21:59:10 +0000 (14:59 -0700)
GHC/HetMet/CodeTypes.hs

index 255e8b4..d629119 100644 (file)
@@ -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