IOR: Region based resource management for the IO monad.

[ bsd3, library, monadic-regions, system ] [ Propose Tags ]

IOR monad is a wrapper around IO that allows region based resource management.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1
Dependencies base, mtl [details]
License BSD-3-Clause
Author Ivan Tomac
Maintainer tomac `at` pacific `dot` net `dot` au
Category System, Monadic Regions
Uploaded by IvanTomac at 2008-05-25T14:51:53Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1260 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for IOR-0.1

[back to package description]
To build the library type

    runhaskell Setup.lhs configure
    runhaskell Setup.lhs build
    runhaskell Setup.lhs haddock    # optional
    runhaskell Setup.lhs install

There are a few tests and examples in the src directory.

TODOs:
-----

It may be possible (and worthwhile) to write a more general region monad that
is not tied to IO. I've had a brief look into this but right now I can't find
a clean and consistent way to abstract mutable references for different
monads.

It would also be nice to provide all the functions found in System.IO ideally
in such a way so the functions can be used with either Strings, ByteStrings or
something else.
I can't think of a clean way to do this either. Any suggestions would be
welcome.

Ivan Tomac 25/05/2008