@hackage explicit-iomodes0.6.0.5
File handles with explicit IOModes
Categories
License
BSD-3-Clause
Maintainer
Bas van Dijk <v.dijk.bas@gmail.com>
Links
Versions
Installation
Dependencies (3)
- base >=4 && <4.7
- base-unicode-symbols >=0.1.1 && <0.3
- tagged >=0.0 && <0.5 Show all…
Dependents (4)
@hackage/safer-file-handles, @hackage/acme-everything, @hackage/explicit-iomodes-text, @hackage/explicit-iomodes-bytestring
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 and explicit-iomodes-text
packages for ByteString / Text operations.