Mention "handle is semi-closed" in error messages
authorThomas Miedema <thomasmiedema@gmail.com>
Tue, 15 Dec 2015 00:02:39 +0000 (01:02 +0100)
committerBen Gamari <ben@smart-cactus.org>
Tue, 15 Dec 2015 00:38:10 +0000 (01:38 +0100)
commit9017f16a78d66fe5aaf0ec98aeb9add1792fd838
tree8fe96280ea78335a5d8fde3913e2a119f100e067
parentddde542dbcb088e0a10aa3cdc3e0aef0a1c4a9b7
Mention "handle is semi-closed" in error messages

Semi-closedness is mentioned in the Haskell report, so lets not hide it
from users.

Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D1624
libraries/base/GHC/IO/Handle.hs
libraries/base/GHC/IO/Handle/Internals.hs
libraries/base/tests/IO/IOError001.stdout