pkgsrc-wip/hs-explicit-iomodes/DESCR
PHO / phonohawk 6862ed39bd Import hs-explicit-iomodes-0.5 as wip/hs-explicit-iomodes.
The module System.IO.ExplicitIOModes exports a Handle to a file which
is parameterized with the IOMode the handle is in. All operations on
handles explicitly specify the needed IOMode. This way it is
impossible to read from a write-only handle or write to a read-only
handle for example.

See the explicit-iomodes-bytestring/text package for ByteString/Text
operations.
2010-11-02 16:46:30 +00:00

8 lines
370 B
Text

The module System.IO.ExplicitIOModes exports a Handle to a file which
is parameterized with the IOMode the handle is in. All operations on
handles explicitly specify the needed IOMode. This way it is
impossible to read from a write-only handle or write to a read-only
handle for example.
See the explicit-iomodes-bytestring/text package for ByteString/Text
operations.