If I'm working with a third party quasi-quoter, for example thirdParty :: QuasiQuoter
, and I want to write my own in terms of this quasi-quoter, how do I do this? In ghci I tried
runQ [| [thirdParty| |] |]
But this outputs (in my case):
LamE [VarP _render_2] (AppE (VarE GHC.Base.return) (ConE GHC.Tuple.()))
Which doesn't tell me what the abstract syntax tree for "[thirdParty| |]" is so it seems I can't construct such a patten with template Haskell.