Re: import qualified Prelude

1997-10-02 Thread John C. Peterson
All special syntax, like (), resolves to Prelude names regardless of imports. Your second try is correct - it's hbc that's broken. John

[fwd] CFP PAP/PACT98

1997-10-02 Thread Oskar Bartenstein
I forward this to you as received from The Practical Application Company. Please contribute if possible. Best regards Oskar Bartenstein [EMAIL PROTECTED] http://www.ifcomputer.com - PAP/PACT98 CALL FOR

RE: Heap Sort

1997-10-02 Thread Carsten Kehler Holst
Merge Sort vs. Heap Sort (ala Jon) As far as I can see the difference between merge sort and heap sort as described by Jon is almost non existing. Merge sort as I wrote it in 92 (it might have been 93 :-). Using Jon's naming: runify x = [x] merge [] ys = ys merge xs [] = xs merge xrun@(x:xs)

Re: ghc-2.07 on HPUX calamaties.

1997-10-02 Thread Sven Panne
Alex Ferguson wrote: Anyone got any bright ideas on this on? OK, I'm trying to be bright... :-) hsc seems to build OK on a HPUX box, but as soon as it tries to compile PrelBase: [...] sh: 16173 Memory fault(coredump) [...] You didn't tell which ghc version you used for compilation, but

ghc-2.07 on HPUX calamaties.

1997-10-02 Thread Alex Ferguson
Anyone got any bright ideas on this on? hsc seems to build OK on a HPUX box, but as soon as it tries to compile PrelBase: wilde.ucc.ie:~/ghc-2.07/fptools/ghc/lib: ../driver/ghc -H20M -cpp -fglasgow-exts -fvia-C -Rghc-timing -c ghc/PrelBase.lhs -dshow-passes -fmax-simplifier-iterations4

Importing symbolic constructors

1997-10-02 Thread Graeme Moss
(Apologies if you're aware of/fixed this problem, I have GHC 2.05 and haven't kept up with bug fix news.) Exporting a constructor like (:..:) seems to cause an interface file that fails to be parsed. Hand-editing out the offending portion that looks something like: _exports_ Auburn_CoreGen

IRIX 5.3 and import qualified Prelude

1997-10-02 Thread Graeme Moss
The Good News - I've tried GHC for IRIX 6.2 on my IRIX 5.3 machine and all seems well so far, hurrah! (Thanks go to Fuad Abdallah for pointing this possibility out and the work I know he did in helping to bring GHC 2.xx to IRIX.) The version I used was obtained at:

Re: Importing symbolic constructors

1997-10-02 Thread Sigbjorn Finne
Graeme Moss writes: (Apologies if you're aware of/fixed this problem, I have GHC 2.05 and haven't kept up with bug fix news.) Exporting a constructor like (:..:) seems to cause an interface file that fails to be parsed. Hand-editing out the offending portion that looks something like:

Re: IRIX 5.3 and import qualified Prelude

1997-10-02 Thread Sigbjorn Finne
Graeme Moss writes: GHC fails on the following script: import qualified Prelude main :: Prelude.IO () main = Prelude.print Prelude.True with importPrel.hs:3: Type constructor or class not in scope: `()' Yep, a renaming problem. For now, play games such as import

Re: 2.07 binary installation

1997-10-02 Thread Justin Cormack
There's a tpyo in Makefile.in, change PACKAGE_LIBSCRIPTS to PACKAGE_LIB_SCRIPTS. --Sigbjorn ok, so far so good, install was happy, then testing gives: /homes/jpc1/bin/ghc: =2-space GC: not found /homes/jpc1/bin/ghc: =dual-mode GC: not found /homes/jpc1/bin/ghc: =: not found