Changes between Version 3 and Version 4 of ExtensibleExceptions
- Dec 18, 2005 4:29:32 AM (9 years ago)
v3 v4 69 69 To make an existing type into one that can be thrown/caught as an exception, it is just necessary to derive Typeable and Show, and say 'instance Exception T'. (we could also allow the Exception class to be derived). 70 70 71 Some example code that works with GHC is here: [source: exceptions.hs prototype]. 71 Some example code that works with GHC is here: [source:.hs prototype].