Re: finding ....

2002-03-20 Thread Lennart Augustsson
I'm not saying that we always need to write perfect code. Sometimes the cost is too high doing it the right way (like adding a new system call). But what I am saying is that you should be aware of these things; all the examples you gave are broken. Sometimes it doesn't matter much, but I'd hate

Re: finding ....

2002-03-20 Thread Mark Carroll
On Wed, 20 Mar 2002, Lennart Augustsson wrote: (snip) examples you gave are broken. Sometimes it doesn't matter much, but I'd hate to see that code like that, e.g., in the control software for an airplane. (Or in the kernel for that matter.) ...or, indeed, in any software that might be

literate haskell

2002-03-20 Thread Jorge Adriano
Why is it necessary to leave a blank line between comments and code? I'm using LaTeX in my lhs files, with the code inside a verbatim environment, and I'd rather start writing my code right after the \begin{verbatim}. I'd also like to know if anyone as changed is xemacs configuration file in

Re: Haskell slicing tool?

2002-03-20 Thread Richard Uhtenwoldt
Olaf Chitil writes: [EMAIL PROTECTED] wrote: Are there any tools to perform program slicing on Haskell? I often find myself wanting to find all fromJusts invoked from the current function, or all functions that use a particular member of my monad's ADT. Actually I was hoping for a

Re: finding ....

2002-03-20 Thread Pixel
D. Tweed [EMAIL PROTECTED] writes: [...] Could someone post an example of the creation of a temporary file where race conditions are important? myscript wants to create a temporary file called /tmp/storedStuff being half-careful, checks file doesn't exist (*) miniscule delay occurs