[Haskell-beginners] (no subject)

Philipp Schneider philipp.schneider5 at gmx.net
Sun Jul 3 15:30:23 CEST 2011


Hi,

I think you're looking for the function bracket.

See
http://haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html#v:bracket

http://book.realworldhaskell.org/read/io-case-study-a-library-for-searching-the-filesystem.html
(Section The acquire-use-release cycle)

Cheers,
Philipp

On 07/03/2011 03:07 PM, Jan Brosius wrote:
> Hi,
>
> Is there in Haskell a function like unwindprotect in Lisp.
>
> Thanks
> Jan
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110703/926b145f/attachment.htm>


More information about the Beginners mailing list