[Haskell-cafe] book "Haskell Data Analysis Cookbook" by Nishant Shukla
allbery.b at gmail.com
Sun Jul 13 00:02:04 UTC 2014
On Sat, Jul 12, 2014 at 7:54 PM, Vasili I. Galchin <vigalchin at gmail.com>
> -- these two lines are non-thread safe .. yes?? to be thread-safe
> the above line and the following line would have to be together
> atomic ....
Not even then would it really be safe; it should trap the exception from
readFile failing, instead of checking existence in a separate step.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe