[Haskell-cafe] the Haskell "with" "pattern"?

Johan Tibell johan.tibell at gmail.com
Wed Aug 6 04:54:18 EDT 2008

2008/8/6 Galchin, Vasili <vigalchin at gmail.com>:
> Hello,
>     1) Is there a common assumed semantics across all of the Haskell "with"
> things? withString? withData?

You probably knew this already but there's nothing in the "with idiom"
that prevents the resource to escape. Oleg recently wrote about
(lightweight) monadic regions and how they can statically assure that
this doesn't happen.



More information about the Haskell-Cafe mailing list