hello,

i am using ghc-2.01 on alpha-dec-osf4.0 and i486-unknown-linux.


the parser complains about files whose very last line contains
a comment-to-end-of-line but where there's no closing 
end-of-line character. (this works with 0.29) example:

joe@iaxp11:~/analyze/rx$ echo -n "main = print [1 .. 10] --" > Foo.hs
joe@iaxp11:~/analyze/rx$ ghc-2.01 -dshow-passes -c Foo.hs
*** Reader:
"Foo.hs", line 1, column 26: parse error on input: <EOF>

the ghc's i'm using were bootstrapped with ghc-0.29,
and i applied the patch that makes -prof -auto-all work,
but i guess that's irrelevant here.


oh, and somewhere in the documentation there should be a warning 
not to use `notElem' from the ghc-2.01 prelude :-)

of course i can simply fix this and recompile the prelude but
that would make programs non-protable because it might force
others to recompile the prelude as well, and they might not want
to do this.


by the way - as i'm too lazy to upgrade my linux from aout to elf
format, i rather bootstrapped ghc-0.26 -> 0.29 -> 2.01 which
took some days (for my machine, a 486 DX 50 with 16 MB RAM only)
but it went on fine and without any major intervention
except that i had to toggle some -O(not) -Hsomething flags.


greetings,

-- 
Johannes Waldmann   Institut für Informatik   FSU   D-07740  Jena  Germany
http://www5.informatik.uni-jena.de/~joe/ mailto:[EMAIL PROTECTED]

"... oder wie lautet denn der Titel Ihrer Dissertation?" - "Ich schreibe 
ueber `Besonderheiten von Stil und Rhythmik weiblicher Prosa des spaeten 
Chejan, dargestellt an Makurano-Soshi'",  sagte Pfeffer.  "Ich fuerchte, 
dass..." - "Aus-ge-zeich-net! Genau das, was wir brauchen."

Reply via email to