Sven Panne writes:
I must admit that I don't fully understand the new offside rule
anymore, but the following is probably a bug in ghc-4.04 (note that
putStrLn is in the same column as the second occurrence of greetings):
-- Foo.hs ---
main = greetings
where
I followed the instructions and tried the basic test of whether or not the
program was installed. I got the following back from GHC:
bash-2.02$ /ghc/ghc-4.03/bin/ghc-4.03 -o main main.hs
stdin:0:25: Character literal '{-# LINE 1 "main.hs" -}' too long
stdin:0:25: on
Hi,
couple of things to (double) check for:
* From within Bash, running "ls -l /bin/sh" does indeed
show up "sh.exe" as being parked there.
* If you didn't have perl installed from before, did you
copy it from the bin/ directory of the ghc installation
tree into /bin? (the
I must admit that I don't fully understand the new offside rule
anymore, but the following is probably a bug in ghc-4.04 (note that
putStrLn is in the same column as the second occurrence of greetings):
-- Foo.hs ---
main = greetings
where greetings =
putStrLn
Hi,
couple of things to (double) check for:
* From within Bash, running "ls -l /bin/sh" does indeed
show up "sh.exe" as being parked there.
* If you didn't have perl installed from before, did you
copy it from the bin/ directory of the ghc installation
tree into /bin? (the
Sirs,
I have just installed the ghc-4.03-win32-IS.zip(InstallShield) on my NT box
and failed to compile the HelloWorld test in cygwin-B20 as follows:
bash$ /ghc/ghc-4.03/bin/ghc-4.03 main.hs
stdin:0:25: Character literal '{-# LINE 1 "main.hs" -}' too long
stdin:0:25: on input: "'"
bash$ cat
Hi,
In 6.2 GHC/Hugs Extension Libraries, the link for GHC/Hugs extension
library document(http://www.dcs.gla.ac.uk/fp/software/ghc/hg-libs/hg-libs.html)
is missing.
Kwanghoon