[Haskell-cafe] about openTempFile

Manlio Perillo manlio_perillo at libero.it
Wed Sep 17 16:11:28 EDT 2008


David Roundy ha scritto:
> [...]
> In particular, the code Don quoted is incorrect depending on which
> import statements are used.  If we assume that the default is the
> bracket available in Haskell 98, then it is definitely incorrect.
> 
> It also doesn't behave properly in the presence of signals or keyboard
> interrupts (i.e. posix or windows systems).  

Maybe a withSignalsMasked function, at least on Posix systems (it is not 
defined in System.Posix.Signals)?

I have no idea how signals works under Windows.

 > [...]


Manlio Perillo


More information about the Haskell-Cafe mailing list