[Haskell-cafe] Bulletproof resource management

Roel van Dijk vandijk.roel at gmail.com
Mon Oct 18 07:31:01 EDT 2010


> I think somebody else already mentioned region-based management, which is
> also completely safe AFAIK.

Ben Franksen mentioned my brother's regions package [1]. He's about to
release a new version with simpler type machinery. The list of
packages that make use of the regions package [2] can serve as an
example how to use these lightweight monadic regions [3].

Regards,
Roel

1 - http://hackage.haskell.org/package/regions
2 - http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/regions#direct
3 - http://okmij.org/ftp/Haskell/regions.html#light-weight


More information about the Haskell-Cafe mailing list