Ticket #7348 (closed bug: fixed)
base-4.6 does not export `catch` from Prelude while Control.Exception documentation still claims so
| Reported by: | Dzhus | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.2 |
| Component: | Documentation | Version: | 7.6.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Documentation bug | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: | 7167 |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
