Final Call for Papers: TFP 2007, New York, USA

2007-01-19 Thread TFP 2007
Dear Colleagues, The abstract submission deadline, February 1, is quickly approaching. We hope to see you at TFP 2007 in New York. NEW: Abstract submission is now open! Link: http://cs.shu.edu/tfp2007/submissions.html NEW: Invited Talk: John McCarthy, Standford University CALL FOR

Strange behavior with Network sockets

2007-01-19 Thread mrd
This program listens on port 9000 and mirrors everything typed into the client onto stdout, IF it is working correctly. In GHC 6.6 (and HEAD), it seems to block unexpectedly, and this strange behavior is related to hIsOpen and hIsEOF, somehow. It acts like hIsOpen or hIsEOF is holding up the

Re: Strange behavior with Network sockets

2007-01-19 Thread Alec Berryman
mrd on 2007-01-19 18:16:31 -0500: In GHC 6.6 (and HEAD), it seems to block unexpectedly, and this strange behavior is related to hIsOpen and hIsEOF, somehow. It acts like hIsOpen or hIsEOF is holding up the loop until input arrives, but it still blocks at hGetLine. The server ends up

Re: Strange behavior with Network sockets

2007-01-19 Thread mrd
On Fri, Jan 19, 2007 at 07:19:15PM -0600, Alec Berryman wrote: main = withSocketsDo $ do sock- listenOn $ PortNumber 9000 (h,_,_) - accept sock From your description it sounds like you have a buffering problem. Have you tried adding 'hSetBuffering h LineBuffering' here?

Re: HEAD ghci crash on ppc OS X

2007-01-19 Thread Peter Tanski
On 16 Jan 2007, David Kirkman wrote: On 1/15/07, David Kirkman [EMAIL PROTECTED] wrote: The comment above seems to be begging for a oc-image += oc-misalignment; statement right after the call to stgMallocBytes. This did in fact work (patch for rts/Linker.c below). And it *was* in the