(no subject)

2001-12-19 Thread mailer . daemon

unexpected space leak

2001-12-19 Thread Hal Daume III
what does it mean when ghci says: WARNING: ignoring polymorphic case in interpreted mode. Possibly due to strict polymorphic/functional constructor args. Your program may leak space unexpectedly. -- Hal Daume III "Computer science is no more about computers| [EMAIL PROTECTED] than

Concurrent and Posix libraries...

2001-12-19 Thread Marcus Shawcroft
Hi, I want to use a thread in concurrent haskell to manage a posix fork/exec/wait. I expected the test code attached below to output "recovering result" once, instead I get "recovering result" twice. Can anyone shed some light on whats going wrong? (ghci 5.02.1 x86 linux) Thanks /Marcus > modu

RE: ghc-5.02.2

2001-12-19 Thread Simon Peyton-Jones
"in due course" is a native English way of saying "I'm not quite sure" :-) We are planning a release before Christmas. Whether we will actually get it out in the next 3 days remains to be seen, but if not then it'll be early in the new year. Simon | -Original Message- | From: Sven Eri

Re: Optimization and GCC?

2001-12-19 Thread Marcin 'Qrczak' Kowalczyk
Wed, 19 Dec 2001 09:56:36 +0100, Till Doerges <[EMAIL PROTECTED]> pisze: > /u/joe/built/lib/ghc-5.00.2/includes/Regs.h:255: warning: call-clobbered register >used for global register variable I don't know about this one. > /tmp/ghc15733.hc:5391: warning: deprecated initialization of zero-leng

ghc-5.02.2

2001-12-19 Thread Sven Eric Panitz
Some time ago Simon Peyton-Jones posted on this list: 'We will do 5.02.2 in due course' Being not a native English speaker, I am not sure about all subleties of the English language; I wonder what time frame 'in due course' indicates? Are there any concrete plans, when ghc-5.02.2 will be availa

Re: ghc image size

2001-12-19 Thread Stephan Reiff-Marganiec
At 10:51 19/12/2001 +0200, you wrote: > >> Why is executable size a barrier? 1.64 megabytes (that's the size of > >> the executable I built with GHC most recently) of disk space costs less > >> than half a cent. > > AL> I don't like this argument. Can I go to a computer store, pay a cent, > A

RE: converting to & from unboxed types

2001-12-19 Thread Simon Marlow
> > I'm sure this is common knowledge but I can't find it > anywhere in the ghc > docs. How do you take, say, an Integer and "unbox" it and > get an Int# or > something? import GlaExts unbox :: Int -> Int# unbox (I# i) = i box :: Int# -> Int box i = I# i Cheers, Simon ___

RE: ghc image size

2001-12-19 Thread Simon Marlow
> Mike Gunter <[EMAIL PROTECTED]> writes: > > > Why is executable size a barrier? 1.64 megabytes (that's > the size of > > the executable I built with GHC most recently) of disk > space costs less > > than half a cent. > > I don't like this argument. Can I go to a computer store, pay a cent

Re: ghc image size

2001-12-19 Thread Dmitry Astapov
>> Why is executable size a barrier? 1.64 megabytes (that's the size of >> the executable I built with GHC most recently) of disk space costs less >> than half a cent. AL> I don't like this argument. Can I go to a computer store, pay a cent, AL> and get a hard disk with space 1.64 megabytes

Optimization and GCC?

2001-12-19 Thread Till Doerges
Hello everybody, I've got some trouble compiling haskell-code on a sparc system. As soon as I use the option '-O', ghc starts spilling messages like these: --- snip --- [...] /u/joe/built/lib/ghc-5.00.2/includes/Regs.h:255: warning: call-clobbered register used for global register variable [..