Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/ekmett/exceptions. Pull mirroring updated .
  1. Jul 18, 2016
    • Michael Snoyman's avatar
      Add instances for MonadCatch and MonadMask for Either · 134aec9a
      Michael Snoyman authored
      Came up in a discussion with @bitonic. There's no downside I can see to
      the MonadCatch instance. However, the MonadMask instance is a little bit
      more controversial, in that it's not actually doing any masking.
      However, it's impossible to know that it's not masking the async
      exceptions since there are no side-effects from the Either monad.
      
      Of course, by using unsafePerformIO, we could observe the difference,
      but I think that's a valid trade-off.
      
      One final argument against MonadMask for Either: it's probably not
      terribly useful.
      134aec9a
  2. Jan 16, 2016
  3. Jan 15, 2016
  4. Jan 13, 2016
  5. Nov 23, 2015
  6. Nov 22, 2015
  7. Sep 23, 2015
  8. Aug 09, 2015
  9. Jul 23, 2015
  10. May 21, 2015
  11. Mar 14, 2015
  12. Mar 11, 2015
  13. Mar 08, 2015
  14. Feb 13, 2015
Loading