Hello Michael, hello fellow haskellers,
there is something, which has bothered me for quite a while, but now it
has become a serious problem for me, because I see it as a bug, and
there is no elegant way to work around it.
I wonder if it's the right semantics for Data.Pool to simply fail with
an
The documentation seems to indicate that the behaviour should be blocking,
so if it's not, might be a bug.
withResource :: MonadCatchIO m = Pool a - (a - m b) - m b
Temporarily take a resource from a Pool, perform an action with it, and
return it to the pool afterwards.
* If the
On Sun, Jun 12, 2011 at 10:47 AM, Ertugrul Soeylemez e...@ertes.de wrote:
Hello Michael, hello fellow haskellers,
there is something, which has bothered me for quite a while, but now it
has become a serious problem for me, because I see it as a bug, and
there is no elegant way to work around
Wrong package, that's resource-pool (which I wasn't aware of until
this moment). Ertugrul is referring to pool:
http://hackage.haskell.org/packages/archive/pool/0.1.0.2/doc/html/Data-Pool.html
.
My original intention of splitting pool off from persistent was so
others could use it. If Bryan's
Oops, my bad! :-)
Cheers,
Edward
Excerpts from Michael Snoyman's message of Sun Jun 12 05:15:41 -0400 2011:
Wrong package, that's resource-pool (which I wasn't aware of until
this moment). Ertugrul is referring to pool: