blob: 68a6e6247ad6c24ddb79d57df5e7c6dd8298e1b5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# LANGUAGE TemplateHaskell #-}
module T2700 where
import Language.Haskell.TH
import System.IO
$( do { d <- sigD (mkName "foo") [t| (Int -> Bool) -> Bool |]
; runIO (hPutStrLn stderr (pprint d))
; return [] }
)
|