sink-0.1.0.1: An alternative to lazy I/O that doesn't conflate execution with evaluation

The sink package

Lazy I/O conflates evaluation with execution; a value obtained from unsafeInterleaveIO can perform side-effects during the evaluation of pure code. Like lazy I/O, a Sink provides a way to obtain the value of the result of an IO action before the action has been executed, but unlike lazy I/O, it does not enable pure code to perform side-effects. Instead, the value is explicitly assigned by a later IO action.

Properties

Versions0.1.0.0, 0.1.0.1
Dependenciesbase (≥4.3 & <4.5)
LicenseMIT
AuthorJake McArthur
MaintainerJake McArthur <Jake.McArthur@gmail.com>
CategoryControl, Data, System
Source repositorydarcs get http://patch-tag.com/r/jmcarthur/sink
Upload dateSat Aug 27 16:20:39 UTC 2011
Uploaded byJakeMcArthur
Built onghc-7.2

Modules

Downloads