X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2F6.12.1-notes.xml;h=9e0ecbfbf84c6d8afd9f5795f0ac3d6510f688fe;hb=a0f6d307b097bd788e181434a4d9b7fdd56a6c6b;hp=f1d1ed5c7b81d932abaf2d2cc780e78b59d7bf4e;hpb=0206799932d7647cda24ab9823d70cb412f87fe9;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.