1. 01 Jul, 2009 1 commit
  2. 06 Oct, 2008 1 commit
  3. 03 Oct, 2008 1 commit
    • Ian Lynagh's avatar
      Use an extensible-exceptions package when bootstrapping · 1f3a7730
      Ian Lynagh authored
      Ifdefs for whether we had extensible exceptions or not were spreading
      through GHC's source, and things would only have got worse for the next
      2-3 years, so instead we now use an implementation of extensible
      exceptions built on top of the old exception type.
  4. 14 Sep, 2008 1 commit
    • Thomas Schilling's avatar
      Introduce an 'ExceptionMonad' class. · 4767e535
      Thomas Schilling authored
      This monad provides variants of 'catch', 'bracket', and 'finally', so
      exceptions can be handled in monads that wrap IO.  The latter two
      methods need to be part of the class definition, because GHC uses
      'block' and 'unblock' which are used in the definition of those two
      methods for the IO monad.  A perhaps better class interface would
      consist of 'gcatch', 'gblock', and 'gunblock' and let the latter two
      default to 'id' like is done for non-GHC implementations of 'bracket'
      and 'finally'.
  5. 31 Jul, 2008 1 commit
  6. 30 Jul, 2008 1 commit