summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_implicitParamsErr1.hs
blob: 56cf285c59dfb8c2c2c40fd44dcbf5b22fb3cb70 (plain)
1
2
3
4
5
{-# LANGUAGE ImplicitParams #-}
{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH

$(fmap (:[]) (implicitParamBindD "x" [e| 1 |]))