add GArrowTensor, GArrowUnit, and GArrowExponent which use type families to reduce...
[ghc-base.git] / GHC / HetMet / CodeTypes.hs
index d7dcac2..fcb13ca 100644 (file)
@@ -31,11 +31,11 @@ hetmet_csp = Prelude.error "hetmet_csp should never be evaluated; did you forget
 
 hetmet_flatten ::
    forall g .
-    GArrowSTKC g (,) () =>
+    GArrowSTKC g =>
       forall x y.
          <[ y ]>@g
          ->
-         (g () y)
+         (g (GArrowUnit g) y)
 hetmet_flatten x = unG (pga_flatten x)
 
 -- After the flattening pass the argument and result types of this
@@ -46,18 +46,18 @@ hetmet_flatten x = unG (pga_flatten x)
 pga_flatten ::
    forall g x y.
      <[ y ]>@g ->
-     PGArrow g () y
+     PGArrow g (GArrowUnit g) y
 pga_flatten = error "hetmet_flatten should never be evaluated; did you forget to compile with -fcoqpass?"
 pga_unflatten ::
    forall g x y.
-     PGArrow g () y ->
+     PGArrow g (GArrowUnit g) y ->
      <[ y ]>@g
 pga_unflatten = error "hetmet_flatten should never be evaluated; did you forget to compile with -fcoqpass?"
 
 pga_flattened_id ::
    forall g x y.
-     PGArrow g () y ->
-     PGArrow g () y
+     PGArrow g (GArrowUnit g) y ->
+     PGArrow g (GArrowUnit g) y
 pga_flattened_id x = x