Order of libraries

1997-10-14 Thread Stephan Tobies
Another little problem: When linking programs which need additional libraries (say -lreadline -ltermcap) the ghc driver puts these after its own libraries when calling the linker. This is not desirable since the linker complains about unresolved names. Switchig the order of $UserLibrary and

Re: Order of libraries

1997-10-14 Thread Sigbjorn Finne
Stephan Tobies writes: Another little problem: When linking programs which need additional libraries (say -lreadline -ltermcap) the ghc driver puts these after its own libraries when calling the linker. This is not desirable since the linker complains about unresolved names. Switchig

Re: GranSim/parallel versions of 2.08

1997-10-14 Thread Sigbjorn Finne
Sven Panne writes: The normal/profiling/concurrent versions of 2.08 compiled far too smoothly, so I was looking for new installation challenges. ;-) Alas, compiling with mg and mp added to GhcLibWays didn't work: * During the compilation of the _mg-versions of the libs the

error in PackedString ?

1997-10-14 Thread Fuad Abdallah
Hello, i just encountered the following strange result with PackedStrings: foo = packString "this is a test" show (filterPS (not.isSpace) foo) result: "thisisatest\NUL" It looks like the trailing \0 from the PS is filtered ? regards, Fuad -- Fuad Abdallah Max-Planck-Institut fuer

Library Random is missing with ghc-2.08 src distribution

1997-10-14 Thread Stephan Tobies
The subject says it all... -- Stephan Tobies, Student of Computer Science, RWTH Aachen mailto:[EMAIL PROTECTED] ## There is much pleasure to be gained from useless knowledge - B. Russel ##

Re: ghc Diagnostics

1997-10-14 Thread Manuel Chakravarty
Simon Marlow wrote: I take your point that this isn't very consistent: there should be a way to turn off all warnings easily. What do other people think? The options are: * have all warnings off by default, a standard set of warnings being available by adding the -W

Re: profiling

1997-10-14 Thread Simon L Peyton Jones
Marc I strongly suspect that the names are simply truncated before they get into a .hp file. Doubtless this could be fixed. However, we're now embarking on building a new RTS, designed to support both GHC and Hugs, so I'd rather just make sure that the new system doesn't truncate names.

Re: profiling

1997-10-14 Thread Kevin Hammond
At 9:32 am 14/10/97, Simon L Peyton Jones wrote: I strongly suspect that the names are simply truncated before they get into a .hp file. Doubtless this could be fixed. Yes, I came across this when working with the parallel cost-centre code. It would be extremely easy to change the appropriate

Typechecking Monads

1997-10-14 Thread Ch. A. Herrmann
Hello, in the following example, where I define a state transformer monad "St" parametrized with the state "c", the ghc-2.08 typechecker reports the following error message in the type definition of function "foo" which uses the instantiated "St": `St' should have no arguments, but has