[Template-haskell] splicing types

Robert Greayer robgreayer at yahoo.com
Tue Jul 1 12:32:59 EDT 2008


In trying to explain something, I wrote:

(Omitted $(encT 1000))

and (Omitted $(encT "hello"))

but I meant (Omitted $(encT [|1000|]) and (Omitted $(encT [|"hello"|]).  I.e. encT is a (monomorphic) function of type (Q Exp -> Q Type), as specified in my original message.


      


More information about the template-haskell mailing list