[Haskell-cafe] Is it possible to get the information of instances of a type?
magicloud.magiclouds at gmail.com
Thu Oct 27 08:19:30 CEST 2011
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.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
May I know more about this? Have not used TH on this subject.
More information about the Haskell-Cafe