resourcet

Deterministic allocation and freeing of scarce resources.

http://github.com/snoyberg/conduit

Version on this page:1.1.3.1@rev:1
LTS Haskell 22.18:1.3.0
Stackage Nightly 2024-04-25:1.3.0
Latest on Hackage:1.3.0

See all snapshots resourcet appears in

BSD-3-Clause licensed by Michael Snoyman
Maintained by [email protected]
This version can be pinned in stack with:resourcet-1.1.3.1@sha256:21218d83b388b6f7605ece81c851345f096ef2f8c2b94d214e492fa12f860906,1716

Module documentation for 1.1.3.1

  • Control
    • Control.Monad
      • Control.Monad.Trans
        • Control.Monad.Trans.Resource
          • Control.Monad.Trans.Resource.Internal
  • Data
    • Data.Acquire
      • Data.Acquire.Internal

resourcet

Please see the full tutorial on School of Haskell.

This package was originally included with the conduit package, but has existed as a separate package for quite a while. It is fully usable outside of conduit.

Changes

1.1.3

Provide the withEx function to interact nicely with the exceptions package.