Re: main.hs not compiling

2000-08-22 Thread Reuben Thomas
I have followed all the instructions mentioned in http://www.haskell.org/ghc to install Haskell compiler on a Win95 machine. After complete installation, I created the main.hs file containing the following : module Main(main) where main = putStrLn "Hello, world!" After this, I renamed the

Re: main.hs not compiling

2000-08-22 Thread Shantanu Bhattacharya
Hi Reuben, I did not realize that the file could be perl script. So I had renamed it to .exe. My mistake. However, when I do not rename the file to .exe, I get an error "bad command or filename" even though the file exists! The file is in the current directory and the perl.exe is also in the

Re: main.hs not compiling

2000-08-22 Thread Shantanu Bhattacharya
Reuben, Please find my comments inline... - Original Message - From: Reuben Thomas [EMAIL PROTECTED] To: Shantanu Bhattacharya [EMAIL PROTECTED] Sent: Tuesday, August 22, 2000 8:03 PM Subject: Re: main.hs not compiling After this unsuccessful attempt, I ran bash which came with