@hackage / sink

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

Version Deprecated package0.1.0.1

About

Metadata

  • Last updated , by JakeMcArthur
  • License MIT
  • Categories Systems Programming
  • Maintained by: Jake McArthur <Jake.McArthur@gmail.com>

  • Lottery factor: 0

Links

Installation

This package has been deprecated

Readme

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.