explicit-iomodes: File handles with explicit IOModes

[ bsd3, library, system ] [ Propose Tags ]

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.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.2, 0.3, 0.4, 0.4.0.1, 0.4.1, 0.5, 0.6, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.6.0.4, 0.6.0.5
Change log NEWS
Dependencies base (>=4 && <4.7), base-unicode-symbols (>=0.1.1 && <0.3), tagged (>=0.0 && <0.5) [details]
License BSD-3-Clause
Copyright 2009-2010 Bas van Dijk
Author Bas van Dijk
Maintainer Bas van Dijk <v.dijk.bas@gmail.com>
Category System
Home page https://github.com/basvandijk/explicit-iomodes/
Bug tracker https://github.com/basvandijk/explicit-iomodes/issues
Source repo head: git clone git://github.com/basvandijk/explicit-iomodes.git
Uploaded by BasVanDijk at 2012-09-23T15:46:29Z
Distributions
Reverse Dependencies 4 direct, 3 indirect [details]
Downloads 13248 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for explicit-iomodes-0.6.0.5

[back to package description]

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.