RE: Offside rule bug?

1999-09-15 Thread Simon Marlow
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

Installing GHC 4.03 (Win32)

1999-09-15 Thread Michael T. Richter
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

RE: Installing GHC 4.03 (Win32)

1999-09-15 Thread Sigbjorn Finne (Intl Vendor)
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

Offside rule bug?

1999-09-15 Thread Sven Panne
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

RE: ghc-4.03 compilation failure

1999-09-15 Thread Sigbjorn Finne (Intl Vendor)
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

ghc-4.03 compilation failure

1999-09-15 Thread takamitsu . takei
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

missing link

1999-09-15 Thread Kwanghoon Choi
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