diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-04-30 12:37:30 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-04-30 12:37:30 +0200 |
commit | 1f9909b154f96291725e7adb876d1dfd355bafc4 (patch) | |
tree | 3ae41791e6536fa7f6bad585d74187948e1db5d1 /Main.hs |
Initial
Diffstat (limited to 'Main.hs')
-rw-r--r-- | Main.hs | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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)))) |