[Haskell-beginners] Re: how to read file with locking
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Tue Oct 12 07:31:53 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/11/10 01:14 , Jimmy Wylie wrote:
> I don't think I quite understand. How is withFile exception-safe? Under
> the covers it's using openFile. I was under the impression withFile was just
Under the covers it's also using Control.Exception.bracket, which you should
probably look at.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAky0RykACgkQIn7hlCsL25UEDwCgrx0fhk1b/MGjWdwixp9vIZW9
zyYAoJyV5p0GG4Ye/wXhvW0UjYZyMuNW
=1Ces
-----END PGP SIGNATURE-----
More information about the Beginners
mailing list