Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 53 lines (47 sloc) 1.741 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
name: resource-simple
version: 0.2
synopsis: Allocate resources which are guaranteed to be released.
license: BSD3
license-file: LICENSE
author: Shane O'Brien
maintainer: shane@duairc.com
stability: Experimental
category: Control
cabal-version: >= 1.6
build-type: Simple
description:
  This is a simplified, standalone version of the @ResourceT@ transformer that
  was originally developed as part of the @conduit@ package. That version of
  @ResourceT@ was supported by a complicated hierarchy of type classes, the
  main purpose of which was to enable the usage of @ResourceT@ on top of the
  @ST@ monad. However, this doesn't really make much sense conceptually, and
  the reason it was done is because conduits are very closely tied to
  @ResourceT@, and an instance for @ST@ would enable the usage of @ResourceT@
  in pure code.
  .
  This package completely does away with the supporting type class hierarchy,
  and as such, this version of @ResourceT@ can only be used with @IO@ or
  @IO@-like monads.
  .
  This package is motivated by a belief that the iteratee problem and the
  resource finalization problem are orthogonal. This package is ideal for
  usage with the @pipes@ library.

extra-source-files:
  CONTRIBUTORS,
  LICENSE

Library
  hs-source-dirs:
    src

  exposed-modules:
    Control.Monad.Resource

  build-depends:
    base > 4 && < 5,
    containers < 1,
    monad-control > 0.3 && < 0.4,
    monad-fork < 0.2,
    mtl-evil-instances < 0.2,
    transformers > 0.2 && < 0.3,
    transformers-base < 0.5

source-repository head
  type: git
  location: git://github.com/duairc/resource-simple.git
Something went wrong with that request. Please try again.