Opened 4 years ago

Closed 4 years ago

#5546 closed bug (fixed)

Documentation errors in Control.Exception.Base

Reported by: bit Owned by: simonmar
Priority: high Milestone: 7.4.1
Component: libraries/base Version: 7.2.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

I found the following 2 errors in the documentation of Control.Exception.Base

catch

From the documentation for the catch function:

... see the previous section "Catching all exceptions"

There is no such section!

mask

From the documentation for the mask function:

... the only way is to create a new thread; see Control.Concurrent.forkIOUnmasked.

But forkIOUnmasked is deprecated!

Change History (2)

comment:1 Changed 4 years ago by simonmar

  • Milestone set to 7.4.1
  • Owner set to simonmar
  • Priority changed from normal to high

Thanks for the report; fix coming.

comment:2 Changed 4 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed
commit 530fa0b23ed414ef3442803baf107d7a646b35f2
Author: Simon Marlow <[email protected]>
Date:   Tue Oct 18 10:42:04 2011 +0100

    fix cross-ref to "Catching all exceptions" section (#5546)
commit 1dd55b30cdbcd13d581ee533e527b9098b770e96
Author: Simon Marlow <[email protected]>
Date:   Tue Oct 18 10:42:31 2011 +0100

    update ref to deprecated function forkIOUnmasked -> forkIOWithUnmask (#5546)
Note: See TracTickets for help on using tickets.