-O doesn't work with gcc-3.2?

2002-11-22 Thread Anatoli Tubman
ghc fails with this message: Prologue junk?: .globl __stginit_Main __stginit_Main: pushl %ebp movl%esp, %ebp It works without -O. I'm on stock Mandrake 9.0 system. How do I overcome this? tia -- anatoli ___ Glasgow-haskell-users

Re: RFC: External library infrastructure

2002-11-22 Thread Alastair Reid
> On Tue, Nov 12, 2002 at 05:56:13PM -, Simon Marlow wrote: >> Absolutely. I didn't mean to sound so GHC-centric. It would be >> great if the same infrastructure supports multiple >> compilers/interpreters. Ross Paterson <[EMAIL PROTECTED]> writes: > On the other hand, my impression is that

Re: Native Threads in the RTS

2002-11-22 Thread Wolfgang Thaller
Nicolas Oury a écrit: * I think that, if it is not too much complicated, it could be great to put many threads in the OpenGL OS thread. The goal of concurrent Haskell was to allow concurrency for expressivity. It would be a pity to lose this in part of programs for technical reason. Having thi

Re: re-opening a closed stdin?

2002-11-22 Thread Albert Lai
"Simon Marlow" <[EMAIL PROTECTED]> writes: > One reason, I think, is lazy I/O(*). It's to stop you accidentally [...] > (*) kill it! die! die! So you want main = readFile "/dev/zero" >> return () to terminate violantly rather than terminate peacefully? :) Seriously, I understand that the IO

Re: foldl' ?

2002-11-22 Thread Hal Daume III
Because List is the H98 module, Data.List is the extended one which contains foldl'. Regardless of whether you say -package data or not, you're not going to get Data.List unless you ask for it explicitly: moussor:multidoc-sum/ ghci -package data ___ ___ _ / _ \ /\ /\/ __(_) / /_\//

Re: foldl' ?

2002-11-22 Thread Mark Carroll
On Sat, 16 Nov 2002, Hal Daume III wrote: > If it appears in Data.List then you need to import Data.List. In order to > do this, you will need a newer (>=5.03) version of GHC, if I'm not > mistaken. I find it curious that I can do: cicero:markc$ ghci -package data ___ ___ _ / _ \ /

Re: Native Threads in the RTS

2002-11-22 Thread Nicolas Oury
Hello, I read your proposal. It's great but I have a few remarks : * I think that, if it is not too much complicated, it could be great to put many threads in the OpenGL OS thread. The goal of concurrent Haskell was to allow concurrency for expressivity. It would be a pity to lose this in part