Doc fixes in Control.Exception
David Waern
david.waern at gmail.com
Sun Mar 7 18:22:35 EST 2010
2010/3/7 Ian Lynagh <igloo at earth.li>:
> On Mon, Mar 01, 2010 at 11:12:15PM +0100, Bas van Dijk wrote:
>>
>> I noticed some minor errors in the documentation of Control.Exception.
>> The attached patch fixes them.
>
> I'm not sure about the bit of the patch below. David,
> Control/Exception.hs contains:
>
> -- ** Catching all exceptions
>
> -- $catchall
>
> [...]
>
> {- $catchall
>
> It is possible to catch all exceptions, by using the type 'SomeException':
>
> but the reference to $catchall in Control/Exception/Base.hs isn't
> working; in Control-Exception.html $catchall isn't expanded. Is that a
> bug, or expected behaviour?
Not exactly sure what you mean, here. The $catchall reference in
Control/Exception/Base.hs should not work (if by "work" you mean
create some kind of reference to the documentation in
Control/Exception.hs).
In Control.Exception everything seems fine ($catchall is expanded). Or
are you seeing something else?
David
More information about the Libraries
mailing list