[project @ 2001-10-11 22:27:04 by sof]
authorsof <unknown>
Thu, 11 Oct 2001 22:27:05 +0000 (22:27 +0000)
committersof <unknown>
Thu, 11 Oct 2001 22:27:05 +0000 (22:27 +0000)
commitcbaf5d63b56a3c4ad52ba2715b211f52995a2417
treed844b832046074a6044ab97c4d095d1bd7690a57
parentb5bab055aeadc91b6a497551a1aff95bdaa9beb9
[project @ 2001-10-11 22:27:04 by sof]
- removed Win32-only IOErrorType.ComError
- added IOErrorType.(DynIOError Dynamic.Dynamic)

  Propagating dynamically-typed exceptions as Exception.DynException
  isn't always the right thing to do
  [ why? You cannot catch them with IO.catch & you don't get the
    'infrastructure' that IOError offers, so you're forced to
    reinvent that wheel for each dynamic exception.
  ]
- removed IOExts.isComError  :: IOError -> Bool
- added IOExts.isDynIOError  :: IOError -> Bool
- added IOExts.getDynIOError :: IOError -> Dynamic.Dynamic
- documented IOExts changes.
ghc/lib/std/PrelIOBase.lhs