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

Brent Yorgey byorgey at seas.upenn.edu
Wed Oct 26 19:57:58 CEST 2011

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.


More information about the Haskell-Cafe mailing list