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

[ control, data, deprecated, library, mit, system ] [ Propose Tags ]

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.

Versions [RSS] [faq],
Dependencies base (>=4.3 && <4.5) [details]
License MIT
Author Jake McArthur
Maintainer Jake McArthur <>
Category Control, Data, System
Source repo head: darcs get
this: darcs get --tag v0.1.0.1
Uploaded by JakeMcArthur at 2011-08-27T16:20:39Z
Distributions NixOS:
Downloads 1566 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees