[Template-haskell] using [d| class or fun |] and only substituting names?

Alfonso Acosta alfonso.acosta at gmail.com
Wed Sep 3 13:33:07 EDT 2008


On Wed, Sep 3, 2008 at 7:11 PM, Marc Weber <marco-oweber at gmx.de> wrote:
> Is there a way to write something like this?

No, unfortunately only expressions can be spliced. I'm afraid, You'll
have to build the declaration manually.


More information about the template-haskell mailing list