aboutsummaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Main.hs b/Main.hs
new file mode 100644
index 0000000..d1995e1
--- /dev/null
+++ b/Main.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TypeApplications #-}
+module Main where
+
+import Foo
+
+
+data T a = T a
+ deriving (Show)
+
+main :: IO ()
+main = do
+ let x = $$(foo @(T Int) [|| T 1 ||])
+ return ()