Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basvandijk/explicit-iomodes
File handles with explicit IOModes
https://github.com/basvandijk/explicit-iomodes
haskell
Last synced: 29 days ago
JSON representation
File handles with explicit IOModes
- Host: GitHub
- URL: https://github.com/basvandijk/explicit-iomodes
- Owner: basvandijk
- License: other
- Created: 2011-04-17T15:17:14.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-06-15T17:22:33.000Z (over 10 years ago)
- Last Synced: 2024-05-08T20:12:10.948Z (6 months ago)
- Topics: haskell
- Language: Haskell
- Homepage:
- Size: 167 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
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.[explicit-iomodes-bytestring]: http://hackage.haskell.org/package/explicit-iomodes-bytestring
[explicit-iomodes-text]: http://hackage.haskell.org/package/explicit-iomodes-text