[Haskell-cafe] Is it possible to get the information of instances of a type?

Dmitry Olshansky olshanskydr at gmail.com
Mon Nov 7 10:26:48 CET 2011


For TH look also at
http://www.mail-archive.com/haskell-cafe@haskell.org/msg13057.html


2011/10/27 Magicloud Magiclouds <magicloud.magiclouds at gmail.com>

> On Thu, Oct 27, 2011 at 1:57 AM, Brent Yorgey <byorgey at seas.upenn.edu>
> wrote:
> > On Wed, Oct 26, 2011 at 09:10:23PM +0400, MigMit wrote:
> >> Can't be done. Even if this particular module doesn't contain
> >> "instance Class Type", it's quite possible that the said instance
> >> would be defined in another module, about which this one knows
> >> nothing about.
> >
> > That doesn't mean it can't be done, only that you would have to be
> > explicit about which modules to look in.
> >
> > -Brent
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
>
> May I know more about this? Have not used TH on this subject.
>
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111107/c259a42f/attachment.htm>


More information about the Haskell-Cafe mailing list