X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fbugs.xml;h=6e25e68d1448ba1c56ed163446ccc04ccc999307;hb=c8ef1c4a3da7b86516866d8e30e81ef4f9a06041;hp=7fd47c9a200c4ee1f48eab83c69bda4526ed96de;hpb=4d13f3e61e4dc3aaa169bad0b8d67e8256624aee;p=ghc-hetmet.git diff --git a/docs/users_guide/bugs.xml b/docs/users_guide/bugs.xml index 7fd47c9..6e25e68 100644 --- a/docs/users_guide/bugs.xml +++ b/docs/users_guide/bugs.xml @@ -192,15 +192,21 @@ checking for duplicates. The reason for this is efficiency, pure and simple. - - Strings treated as ISO-8859-1 - - - Various library functions, such as putStrLn, - treat Strings as if they were ISO-8859-1 rather than UTF-8. - - - + + hGetContents + + + Lazy I/O throws an exception if an error is + encountered, in contrast to 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. + + +