Re: Confused by FFI

2002-07-08 Thread Alastair Reid
For what it's worth, I ran Ian's program on Hugs (with minor changes: Hugs gets confused by the use of type synonyms in ffi decls) Is this a hugs bug or am I being non-portable? I'd class it as a reflection of the immaturity of Hugs' new ffi implementation - but others might reasonably

pipes? threadWaitRead?

2002-07-08 Thread Dean Herington
I have some GHC-compiled programs that run OK under Sparc/Solaris but hang under x86/Linux. I'm using GHC 5.02.3 on both systems (although I've tried GHC 5.03.20020410 on Linux with the same failures). I'm debugging to narrow the problem down. My current suspicion is that closing the write end

Re: Confused by FFI

2002-07-08 Thread Ian Lynagh
On Mon, Jul 08, 2002 at 10:19:20PM +0100, Alastair Reid wrote: For what it's worth, I ran Ian's program on Hugs (with minor changes: Hugs gets confused by the use of type synonyms in ffi decls) Is this a hugs bug or am I being non-portable? I'd class it as a reflection of the