blob: 1a22f6f667c1d2d7c3a8a5d865ad6cd026f7ac41 (
plain)
1
2
3
4
5
6
7
8
9
10
|
-- test representation and splicing of left-parenthesised right infix operators
module TH_spliceExpr1
where
import Language.Haskell.TH
foo :: Int
foo = $( [| ((+) $ 2) $ 2 |] )
|