cvs commit: fptools/ghc/lib/std PrelIOBase.lhs fptools/hslibs/lang IOExts.hsc fptools/hslibs/lang/doc IOExts.sgml

Sigbjorn Finne sof@glass.cse.ogi.edu
Thu, 11 Oct 2001 15:27:05 -0700


sof         2001/10/11 15:27:05 PDT

  Modified files:
    ghc/lib/std          PrelIOBase.lhs 
    hslibs/lang          IOExts.hsc 
    hslibs/lang/doc      IOExts.sgml 
  Log:
  - 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.
  
  Revision  Changes    Path
  1.43      +9 -12     fptools/ghc/lib/std/PrelIOBase.lhs
  1.6       +11 -9     fptools/hslibs/lang/IOExts.hsc
  1.15      +12 -1     fptools/hslibs/lang/doc/IOExts.sgml