
17 Sep
2008
17 Sep
'08
4:11 p.m.
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