X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FHetMet%2FCodeTypes.hs;h=d6291195753ccad07178b4d4e5295b82d46db2c7;hb=11dca0057d71161c2b93af91f7921a648e6d9558;hp=424551b7ffd71702d8d965178cfd4779c54ae4d5;hpb=7a200dd3b373f73e9e67c550289704c122c92b75;p=ghc-base.git diff --git a/GHC/HetMet/CodeTypes.hs b/GHC/HetMet/CodeTypes.hs index 424551b..d629119 100644 --- a/GHC/HetMet/CodeTypes.hs +++ b/GHC/HetMet/CodeTypes.hs @@ -5,6 +5,7 @@ module GHC.HetMet.CodeTypes ( hetmet_csp, hetmet_flatten, pga_flatten, + pga_unflatten, pga_flattened_id, GuestIntegerLiteral, guestIntegerLiteral, GuestStringLiteral, guestStringLiteral, @@ -30,7 +31,7 @@ hetmet_csp = Prelude.error "hetmet_csp should never be evaluated; did you forget hetmet_flatten :: forall g . - GArrowSTKC g (,) () => + GArrowSTKC g => forall x y. <[ x -> y ]>@g -> @@ -47,6 +48,11 @@ pga_flatten :: <[ x -> y ]>@g -> PGArrow g x 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 x y -> + <[ x -> 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.