1 2 3 4 5 6 7 8 9 10 11
{-# LANGUAGE TemplateHaskell #-} module T8577a where import Language.Haskell.TH data A a = A x :: Q (TExp (A a)) x = [|| A ||] y :: Q (TExp (A Int)) y = x