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

import Foo


data T a = T a
  deriving (Show)

main :: IO ()
main = do
  let x = $$(foo [|| T () ||])
  return ()