Doc fixes in Control.Exception
Ian Lynagh
igloo at earth.li
Mon Mar 8 11:47:49 EST 2010
On Mon, Mar 08, 2010 at 12:22:35AM +0100, David Waern wrote:
> 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?
No, sounds like it's working as expected. Thanks!
Thanks
Ian
More information about the Libraries
mailing list