X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=examples%2FDemoMain.hs;h=e3e56b737d2a500cfe398246694971dd7130ab5a;hp=9386d00174bb105f0dcbbbb9b8977528dcf140b5;hb=bc93ead06902db52dfcc229084a42152d4166bdf;hpb=cb76623a15c668453a369b06698c6896ba3075ee diff --git a/examples/DemoMain.hs b/examples/DemoMain.hs index 9386d00..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 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