Re: can't compile ghc from cvs

2000-06-25 Thread Sven Panne
Jens-Ulrik Petersen wrote: For some time I haven't been able to compile ghc from cvs. [...] What's going wrong? [...] Config.hs:2: Data constructor not in scope: `_ProjectName' [...] Until recently (including 4.06) GHC confused variables having names starting with an underscore followed by an

Re: can't compile ghc from cvs

2000-06-25 Thread Sven Panne
Sven Panne wrote: [...] This has been fixed for 4.07, but as people are supposed to be able to build 4.07 with pre-4.07 compilers, I'll change those identifiers in the driver sources with something more defensive. I've just realised that this is not the true story. You *can* build 4.07 with

Re: Questions about printing and rounding Float numbers

2000-06-25 Thread Lennart Augustsson
Michael Marte wrote: I have a simple problem but it seems to be quite involved: I want to print floating point numbers with a given number of decimal points. First, I found out that both ghc and hugs do not consider the precision argument to showPrec. What precision argument? There's a

RE: Fundeps

2000-06-25 Thread Mark P Jones
Hi Marcin, | module M where | | class Seq s a | s - a where | m :: Seq s b = (a - b) - s a - s b This combination of constructor classes and functional dependencies looks very odd! The dependency says that, if you pick a particular implementation s of sequences, then there will be at most