BSD Ports

wip/hs-explicit-iomodes 0.6.0.5 NetBSD

File handles with explicit IOModes

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
modified-bsd
Categories
wip, devel

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/text package for ByteString/Text operations.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/hs-explicit-iomodes && make install clean

Dependencies

Run dependencies 2