
#5902: Cannot tell from an exception handler whether the exception was asynchronous -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by igloo): I don't see why you can't have `newCatch`, provide you are willing to also have `newThrow` and to deal with passing the annoying `Bool`s around. But using an `AsyncException` hierarchy instead might be OK too. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5902#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler