David Waern <[email protected]> writes:

> 2010/7/4 Ivan Lazar Miljenovic <[email protected]>:
>> Andrew Coppin <[email protected]> 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

It's not for each method, just for the overall instance?  I was kinda
hoping to use it to be able to put runtime bounds on instances of some
classes :(

-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to