#7348: base-4.6 does not export `catch` from Prelude while Control.Exception
documentation still claims so
-------------------------------+--------------------------------------------
 Reporter:  Dzhus              |          Owner:                  
     Type:  bug                |         Status:  new             
 Priority:  normal             |      Component:  Documentation   
  Version:  7.6.1              |       Keywords:                  
       Os:  Unknown/Multiple   |   Architecture:  Unknown/Multiple
  Failure:  Documentation bug  |       Testcase:                  
Blockedby:                     |       Blocking:                  
  Related:  7167               |  
-------------------------------+--------------------------------------------
 From http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html
 /Control-Exception.html#g:5:

 > Note that the Prelude also exports a function called catch with a
 similar type to catch, except that the Prelude version only catches the IO
 and user families of exceptions (as required by Haskell 98).

 > We recommend either hiding the Prelude version of catch when importing
 Control.Exception:

 Prelude doesn't export `catch` as of base-4.6

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to