aboutsummaryrefslogtreecommitdiff
path: root/Main.hs
blob: 1285d3223a852043537fb9d26dd5a98cf93940a8 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TemplateHaskell #-}
module Main where

import Language.Haskell.TH

import Foo

main :: IO ()
main = do
  putStrLn $(return $ LitE (StringL (show (foo 42))))