[GHC] #5546: Documentation errors in Control.Exception.Base

GHC cvs-ghc at haskell.org
Mon Oct 10 16:58:14 CEST 2011


#5546: Documentation errors in Control.Exception.Base
---------------------------------+------------------------------------------
    Reporter:  bit               |       Owner:                
        Type:  bug               |      Status:  new           
    Priority:  normal            |   Component:  libraries/base
     Version:  7.2.1             |    Keywords:                
    Testcase:                    |   Blockedby:                
          Os:  Unknown/Multiple  |    Blocking:                
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown  
---------------------------------+------------------------------------------
 I found the following 2 errors in the documentation of
 [http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-
 Exception-Base.html Control.Exception.Base]

 == catch ==

 From the documentation for the
 [http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-
 Exception-Base.html#v:catch catch] function:

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

 There is no such section!

 == mask ==

 From the documentation for the
 [http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-
 Exception-Base.html#v:mask mask] function:

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

 But [http://hackage.haskell.org/packages/archive/base/latest/doc/html
 /Control-Concurrent.html#v:forkIOUnmasked forkIOUnmasked] is deprecated!

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5546>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list