Re: [Haskell-cafe] RE: ANN: System.FilePath 0.9

2006-07-29 Thread Udo Stenzel
Andrew Pimlott wrote: On Thu, Jul 27, 2006 at 09:59:37PM +0200, Udo Stenzel wrote: In fact, that's consistent with the current documentation, because * getFileName foo == foo * getFileName foo/ == I have to disagree with that. No, you don't. That's the current behaviour of Neil

[Haskell-cafe] commandline parsing?

2006-07-29 Thread Marc Weber
I've been using pesco_cmdline for a while now. But I did notice that it doesn't fit my needs.. And it took me quite a while to get to know why I was getting strange typeable errors when specifying the wrong default value or reading the wrong type.. (these errors occur at runtime thus they

Re: [Haskell-cafe] commandline parsing?

2006-07-29 Thread Neil Mitchell
Hi, Have you seen: System.Console.GetOpt http://www.haskell.org/ghc/docs/latest/html/libraries/base/System-Console-GetOpt.html Interestingly Hoogle doesn't seem to index it, but it does exist! (and in fact Hoogle even uses it...) Thanks Neil On 7/29/06, Marc Weber [EMAIL PROTECTED] wrote:

[Haskell-cafe] Sending Ctrl-C under Windows

2006-07-29 Thread Neil Mitchell
Hi, I want to send Ctrl-C to a process opened by runInteractiveCommand, under Windows. I have found System.Posix.Signals, but on Windows none of those methods exist. For further information, the processes I want to send Ctrl-C to are ghci and hugs, so doing something like terminateProcess

[Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Brian Sniffen
I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. OCaml provides a partial solution:

Re: [Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Neil Mitchell
Hi I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. OCaml provides a partial solution: I know Tom Shackell has been

Re: [Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Jeremy Shaw
At Sat, 29 Jul 2006 14:07:51 -0400, Brian Sniffen wrote: I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. There is

[Haskell-cafe] Baffled by Disk IO

2006-07-29 Thread Matthew Bromberg
I have run into a baffling distinction between the behavior of GHCi and the compiled binary from GHC. I suspect it's something pretty stupid on my part. I have the following test program test.hs import Matrix main = let f1 = bRgauss 4 3 f2 = bRgauss 3 2 fu = f1 *. f2 in bsave