[Haskell-cafe] Type classes
ross at soi.city.ac.uk
Sun Jul 4 08:44:11 EDT 2010
On Sun, Jul 04, 2010 at 02:32:35PM +0200, Daniel Fischer wrote:
> On Sunday 04 July 2010 14:07:03, Ivan Lazar Miljenovic wrote:
> > Ross Paterson <ross at soi.city.ac.uk> writes:
> > > Hmm, it seems only partial: documentation attached to an instance is
> > > shown in the list of instances under a type, but not the list under a
> > > class.
> > I'm guessing that's to reduce noise...
> I'm guessing it might have something to do with the fact that often the
> module containing the class definition isn't processed together with the
> module containing the instance declaration.
It could be either way: sometimes you define a new class with instances
for existing types, and with the current implementation that produces
(I tested with type, class and instance in the same package.)
More information about the Haskell-Cafe