- 09 Apr, 2010 1 commit
-
-
Ian Lynagh authored
-
- 01 Jul, 2009 1 commit
-
-
batterseapower authored
-
- 06 Oct, 2008 1 commit
-
-
Thomas Schilling authored
default implementations of 'gbracket' and 'gfinally' just work. MERGE TO 6.10
-
- 03 Oct, 2008 1 commit
-
-
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.
-
- 14 Sep, 2008 1 commit
-
-
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'.
-
- 31 Jul, 2008 1 commit
-
-
Ian Lynagh authored
TopHandler now uses the new extensible exceptions module, so we need to interact with it using the new types.
-
- 30 Jul, 2008 1 commit
-
-
Ian Lynagh authored
-