Ticket #5546 (closed bug: fixed)

Opened 20 months ago

Last modified 19 months ago

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 Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 19 months ago by simonmar

  • owner set to simonmar
  • priority changed from normal to high
  • milestone set to 7.4.1

Thanks for the report; fix coming.

Changed 19 months ago by simonmar

  • status changed from new to closed
  • resolution set to fixed
commit 530fa0b23ed414ef3442803baf107d7a646b35f2
Author: Simon Marlow <marlowsd@gmail.com>
Date:   Tue Oct 18 10:42:04 2011 +0100

    fix cross-ref to "Catching all exceptions" section (#5546)
commit 1dd55b30cdbcd13d581ee533e527b9098b770e96
Author: Simon Marlow <marlowsd@gmail.com>
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.