X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=examples%2FDemoMain.hs;h=e3e56b737d2a500cfe398246694971dd7130ab5a;hp=d832b6e660dc2db17838ecacdb8f6bb7d408d43d;hb=bc93ead06902db52dfcc229084a42152d4166bdf;hpb=6ae1b9b08da7c1d1f0de42afa1ccbf42acda3e62 diff --git a/examples/DemoMain.hs b/examples/DemoMain.hs index d832b6e..e3e56b7 100644 --- a/examples/DemoMain.hs +++ b/examples/DemoMain.hs @@ -1,9 +1,15 @@ -{-# OPTIONS_GHC -dcore-lint #-} import Control.Category -import GHC.HetMet.GArrow -import GHC.HetMet.CodeTypes -import GHC.HetMet.Private import GArrowTikZ +import GHC.HetMet.Private +import GHC.HetMet.GArrow import Demo -main = tikz' $ \const merge -> foo const (pga_comp (pga_second pga_cancelr) merge) +{- +demo' :: + (Int -> PGArrow g (GArrowUnit g) (GArrowTensor g (GArrowUnit g) Int) ) -> + ( PGArrow g (GArrowTensor g (GArrowTensor g Int Int) (GArrowUnit g)) Int) -> + (PGArrow g (GArrowUnit g) (GArrowTensor g (GArrowUnit g) Int) ) +demo' = demo +-} + +main = tikz $ \const merge -> demo const merge