GHC 2.04 List module: minor 1.4 conformance pbs and a bug (?)

1997-08-06 Thread Bjarte Mayanja Oestvold
[Sorry if this comes twice, Mew died on me.] Hi In GHC 2.04, the module List does not conform to the Haskell 1.4 Library Report (but it should?): List needs to export the definitions `unionBy' and `intersectBy'. Also, unless I haven misunderstood something, the definition of `unionBy', and thus

2.02 newtype problem

1997-08-06 Thread Justin Cormack
In ghc 2.02 I seem to be having a problem. The following program module Test where newtype Test = Test String deriving (Eq, Ord) test :: [Test] -> Test test = maximum gives the error Test.hs:6: No instance for: PrelBase.Ord Test.Test Test.hs:6: at a use of an overloaded identifier: `PrelL

Re: -monly-N-regs ?

1997-08-06 Thread Meurig Sage
Ian Collier wrote: > > While I was trying to compiling ArrBase.o on i386-unknown-solaris2 this > message appeared: > > >/tmp/ghc18527.hc:6388: fixed or forbidden register was spilled. > >This may be due to a compiler bug or to impossible asm > >statements or clauses. > This happened with me, wi

-monly-N-regs ?

1997-08-06 Thread Ian Collier
While I was trying to compiling ArrBase.o on i386-unknown-solaris2 this message appeared: >/tmp/ghc18527.hc:6388: fixed or forbidden register was spilled. >This may be due to a compiler bug or to impossible asm >statements or clauses. Looking up gcc in the docs gave me this: >If your GCC dies w

Re: More questions on installing 2.05

1997-08-06 Thread Ian Collier
Me again... :-( After my success at compiling ghc-2.05 on SunOS 4, I am now attempting it on sparc-sun-solaris2.5.1 and i386-unknown-solaris2.5 and both of them have stopped with this: ghc-0.29 -cpp -fhaskell-1.3 -fglasgow-exts -DCOMPILING_GHC -Rghc-timing -I. -I codeGen -InativeGen -Iparser -iu

Re: More questions on installing 2.05

1997-08-06 Thread Ian Collier
On Tue, 05 Aug 1997 00:50:05 +0100 (BST), Sigbjorn Finne said: > > Question 3: How do I even make the docs? > You'll have to give the doc target, e.g., 'make dvi', in the > directory containing the .lit files. OK, I've got somewhere with this (is it mentioned anywhere in the installation instr