All special syntax, like (), resolves to Prelude names regardless of
imports. Your second try is correct - it's hbc that's broken.
John
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
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)
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
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
(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
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:
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:
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
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
10 matches
Mail list logo