X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2F6.12.1-notes.xml;h=9e0ecbfbf84c6d8afd9f5795f0ac3d6510f688fe;hb=7867349134ee26e4276ff04ace7c815c1de43338;hp=210adeb4be72ba6c61830d4d2a19547e3b06ebd1;hpb=bfdd16ba0799b8e2b2895ebbae46a0e22792d2f4;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 210adeb..9e0ecbf 100644 --- a/docs/users_guide/6.12.1-notes.xml +++ b/docs/users_guide/6.12.1-notes.xml @@ -215,16 +215,7 @@ data instance T [a] where block, but its result is not bound. The flags -fwarn-unused-do-bind and -fwarn-wrong-do-bind control - these warnings. - - - - - - There is a new warning if a monadic result of type other than - m () is not bound. - The flag -fwarn-unused-do-bind controls - this warning. + these warnings (see ). @@ -701,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.