blob: 20ca4f768198981ebcb0f66f791398de7387ebba (
plain)
1
2
3
4
5
6
7
8
9
|
{-# LANGUAGE TemplateHaskell #-}
module T3395 where
import Language.Haskell.TH
foo = $(return $
CompE
[NoBindS (VarE $ mkName "undefined")
,BindS (VarP $ mkName "r1") (VarE $ mkName "undefined") ])
|