foundation
foundation copied to clipboard
Incorporate ideas from safe-exceptions
The exception API in base is pretty bad at encouraging proper handling of asynchronous exceptions. The safe-exceptions package tries to make this safer, and is built on top of the exceptions package to achieve this. The type classes from exceptions have already made their way into foundation; would it make sense to have them out of the box incorporate the async exception safety techniques from safe-exceptions?
I think that make sense to have that out of box; definitely would be a nice addition