X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fusers_guide%2F6.12.1-notes.xml;h=9e0ecbfbf84c6d8afd9f5795f0ac3d6510f688fe;hb=0e1c226ee99011d9af202de78e2a7a37511f4b72;hp=f1d1ed5c7b81d932abaf2d2cc780e78b59d7bf4e;hpb=8a1f533adf691a008ba2ffd0487f9b9254517020;p=ghc-hetmet.git diff --git a/docs/users_guide/6.12.1-notes.xml b/docs/users_guide/6.12.1-notes.xml index f1d1ed5..9e0ecbf 100644 --- a/docs/users_guide/6.12.1-notes.xml +++ b/docs/users_guide/6.12.1-notes.xml @@ -692,6 +692,19 @@ ghc --abi-hash M1 M2 ... + Lazy I/O now throws an exception if an error is + encountered, in a divergence from the Haskell 98 spec which + requires that errors are discarded (see Section 21.2.2 of + the Haskell 98 report). The exception thrown is the usual + IO exception that would be thrown if the failing IO + operation was performed in the IO monad, and can be caught + by System.IO.Error.catch + or Control.Exception.catch. + + + + + It is now possible to create your own handles. For more information, see the GHC.IO.Handle haddock docs.