From 1f9909b154f96291725e7adb876d1dfd355bafc4 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 30 Apr 2024 12:37:30 +0200 Subject: Initial --- Main.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Main.hs (limited to 'Main.hs') 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)))) -- cgit v1.2.3-70-g09d2