re-order type arguments to GArrowProd
authorAdam Megacz <megacz@cs.berkeley.edu>
Fri, 8 Apr 2011 04:11:10 +0000 (04:11 +0000)
committerAdam Megacz <megacz@cs.berkeley.edu>
Tue, 31 May 2011 21:59:08 +0000 (14:59 -0700)
GHC/HetMet/Arrow.hs
GHC/HetMet/GArrow.hs

index b79943a..2de4c42 100644 (file)
@@ -90,7 +90,7 @@ instance ArrowChoice a => GArrow a Either Void where
                     eitherUnAssoc (Right (Left  y)) = Left  (Right y)
                     eitherUnAssoc (Right (Right z)) = Right        z
 
-instance ArrowChoice a => GArrowSum a (,) () Void Either where
+instance ArrowChoice a => GArrowSum a (,) () Either Void where
   ga_never = arr voidImpossible
   ga_merge = arr merge
               where
index 9506528..26bec09 100644 (file)
@@ -82,7 +82,7 @@ class (GArrow     g (**)  u,
 
 class (GArrow     g (**)  u,
        GArrow     g (<+>) v) => 
-       GArrowSum  g (**)  u v (<+>) where
+       GArrowSum  g (**)  u (<+>) v where
   ga_merge :: g (x<+>x) x
   ga_never :: g v       x