[Haskell-cafe] Type classes
David Waern
david.waern at gmail.com
Sun Jul 4 08:30:10 EDT 2010
2010/7/4 Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com>:
> Andrew Coppin <andrewcoppin at btinternet.com> writes:
>
>> In summary, I think we need to devise a way of better-documenting
>> class instances.
>
> Haddock 2.7 supports documenting instance implementations; I don't know
> how this works, but according to the Changelog it's available.
It's simple:
> -- | Documentation for the instance
> instance Monoid Foo
David
More information about the Haskell-Cafe
mailing list