import GHC.HetMet.Private
import GArrowTikZ
-foo x = <[ ~~x ]>
+{-
+foo :: (forall g a . <[ () -> a
+ PGArrow g (GArrowUnit g) a ->
+ (forall b . PGArrow g (GArrowTensor g b b) b) ->
+-}
+--foo con mer = <[ ~~mer ~~con ~~con ]>
+foo f = <[ ~~f ]>
-main = tikz' $ pga_flatten . foo . pga_unflatten
+--tester2 f = <[ \x -> ~~f x x ]>
+
+main = tikz' $ \a b -> pga_flatten (foo (pga_unflatten a))
s = sortit (strip k)
m = valuatit empty s
-tikz' :: (forall g a . PGArrow g (GArrowUnit g) a -> PGArrow g (GArrowUnit g) a) -> IO ()
-tikz' x = tikz $ unG (x (PGArrowD { unG = TikZ_const 12 }))
+tikz' :: (forall g a .
+ PGArrow g (GArrowUnit g) a ->
+ (
+ forall b . PGArrow g (GArrowTensor g b b) b) ->
+ PGArrow g (GArrowUnit g) a) -> IO ()
+tikz' x = tikz $ unG (x (PGArrowD { unG = TikZ_const 12 }) (PGArrowD { unG = TikZ_merge }) )
main = do putStrLn "hello"
tikz example
= do putStrLn "\\documentclass{article}"