servant
servant copied to clipboard
Add MonadCatch and MonadMask instances to RouteResultT and DelayedIO
Fix #1829
@ysangkok @fisx I'd appreciate a review :)
@ysangkok I'm open to suggestions for the test, my imagination is failing me.
The reason I asked for the tests is because I don't have much experience with exception handling and masking in Haskell, so I can't really imagine what the code that could be broken by this would look like. The test would help explain that to me. But I wouldn't oppose to just optimistically merging this if you are reasonably confident that it is an improvement.