X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=examples%2FDemoMain.hs;h=c511bfaca2b1633d30bf727e2c1ae33b30f65113;hp=e3e56b737d2a500cfe398246694971dd7130ab5a;hb=ec996e8cb550676d89d187061db7d018af9ec88d;hpb=bc93ead06902db52dfcc229084a42152d4166bdf diff --git a/examples/DemoMain.hs b/examples/DemoMain.hs index e3e56b7..c511bfa 100644 --- a/examples/DemoMain.hs +++ b/examples/DemoMain.hs @@ -1,15 +1,7 @@ import Control.Category import GArrowTikZ import GHC.HetMet.Private -import GHC.HetMet.GArrow +import Control.GArrow import Demo -{- -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 +main = tikz demo