[Haskell-cafe] How to use Template Haskell based on code that generated by another Template?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Wed Jul 3 08:25:14 CEST 2013

I have a yesod project, which generated, say, UserPassword in module Model.
Then I wrote my template code which generate a piece of code to use
UserPassword. I imported Model in my code.

Then I got
Illegal variable name: `UserPassword'
    When splicing a TH declaration:

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130703/330f0c44/attachment.htm>

More information about the Haskell-Cafe mailing list