aboutsummaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-04-30 12:37:30 +0200
committerTom Smeding <tom@tomsmeding.com>2024-04-30 12:37:30 +0200
commit1f9909b154f96291725e7adb876d1dfd355bafc4 (patch)
tree3ae41791e6536fa7f6bad585d74187948e1db5d1 /Main.hs
Initial
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Main.hs b/Main.hs
new file mode 100644
index 0000000..1285d32
--- /dev/null
+++ b/Main.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TemplateHaskell #-}
+module Main where
+
+import Language.Haskell.TH
+
+import Foo
+
+main :: IO ()
+main = do
+ putStrLn $(return $ LitE (StringL (show (foo 42))))