Re: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-19 Thread Tomasz Zielonka
On Thu, Dec 18, 2003 at 09:53:50PM +0100, Tomasz Zielonka wrote: On Thu, Dec 18, 2003 at 07:44:58PM +0100, George Russell wrote: It seems to work when I change hGetBuf to hGetBufNonBlocking. The name is a bit misleading - the action _does_ wait for some data, but it doesn't wait for all

RE: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-19 Thread Simon Marlow
On Thu, Dec 18, 2003 at 09:53:50PM +0100, Tomasz Zielonka wrote: On Thu, Dec 18, 2003 at 07:44:58PM +0100, George Russell wrote: It seems to work when I change hGetBuf to hGetBufNonBlocking. The name is a bit misleading - the action _does_ wait for some data, but it doesn't wait

RE: repeated import warning

2003-12-19 Thread Simon Peyton-Jones
Done! Simon Foo.hs: Warning: `isJust' is imported more than once: imported from Maybe at Foo.hs:4:16-21 imported from Maybe at Foo.hs:3:23-28 imported from Maybe at Foo.hs:3:16-21 | -Original Message- | From: [EMAIL PROTECTED]

Re: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-19 Thread Tomasz Zielonka
On Fri, Dec 19, 2003 at 10:26:02AM -, Simon Marlow wrote: On Thu, Dec 18, 2003 at 09:53:50PM +0100, Tomasz Zielonka wrote: On Thu, Dec 18, 2003 at 07:44:58PM +0100, George Russell wrote: It seems to work when I change hGetBuf to hGetBufNonBlocking. The name is a bit

RE: Possible unboxed tuples bug.

2003-12-19 Thread Simon Peyton-Jones
It's a bug. Now fixed. Test is should_compile/tc174 Thanks for finding it Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Sean Seefried | Sent: 30 November 2003 04:01 | To: [EMAIL PROTECTED] | Subject: Possible

Re: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-19 Thread Tomasz Zielonka
On Fri, Dec 19, 2003 at 11:39:28AM +0100, Tomasz Zielonka wrote: Well, I think that it would be better if hGetBuf didn't block if all requested data was already in buffer, but I don't insist on it. However this change of semantics can brake existing programs. I am mixing things again: The

RE: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-19 Thread Simon Marlow
On Fri, Dec 19, 2003 at 11:39:28AM +0100, Tomasz Zielonka wrote: Well, I think that it would be better if hGetBuf didn't block if all requested data was already in buffer, but I don't insist on it. However this change of semantics can brake existing programs. I am mixing things

Re: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-19 Thread George Russell
Simon Marlow wrote (snipped): BTW George: there are plenty of 6.1.xxx snapshots available - these are the 6.2 prereleases. There are, but no recent ones. What I would like to have had is a 6.2-epsilon version, not 6.1 and a bit. We don't snapshot along the STABLE branch at the moment; no

[ ghc-Bugs-860413 ] ghci TH symbol lookup fails if package not already loaded

2003-12-19 Thread SourceForge.net
Bugs item #860413, was opened at 2003-12-15 15:50 Message generated for change (Comment added) made by simonpj You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=860413group_id=8032 Category: Compiler Group: 6.0.1 Status: Closed Resolution: Fixed Priority: 5