[Template-haskell] Querying the instances a data type implements

Simon Peyton-Jones simonpj at microsoft.com
Mon Jan 18 04:55:06 EST 2010

All: as Robert says, I keep meaning to close the template-haskell list altogether; but I am not sure how to do so.

Jonathan: where did you find a pointer to the mailing list?  I should remove those too.

Returning to the question, sadly there's no way to do what you want right now.  There's an open feature request:
Would anyone like to undertake it?  It's not hard.


From: template-haskell-bounces at haskell.org [mailto:template-haskell-bounces at haskell.org] On Behalf Of jonathanGfischoff at gmail.com
Sent: 17 January 2010 23:42
To: template-haskell at haskell.org
Subject: [Template-haskell] Querying the instances a data type implements


I am trying query the instances that a data type implements. Calling reify on the data type doesn't appear to return anything relating to type classes.

I am very new to Template Haskell, so I apologize if there is a easy way to do this that I missed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100118/7c9f1104/attachment.html

More information about the Glasgow-haskell-users mailing list