summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T10019.script
blob: bb3d0d464eac48045cd817dd4fa83ce8a7bdcfc1 (plain)
1
2
3
4
:set -XTemplateHaskell
import Language.Haskell.TH
data Option a = Some a | None
$(reify 'Some >>= stringE . pprint)