Hello!

I'm just getting started using the glasgow haskell compiler and when I try to 
compile a simple program, named Hello.lhs,  like this:

module Main (main) where
main = putStrLn "Hello World"
end

with the command

ghc Hello.lhs

I get the message on standard output:

No definitions in file <perhaps you forgot the '>'s?>

Where can I find working example files?

regards 

Mikael Johansson 
Control System Engineer
Performance and control

Volvo Aero Corporation
Military Engines Trollhättan
Dept. 7164MJ
SE-461 81 Trollhättan, Sweden
phone +46 520 940 61
e-mail: [EMAIL PROTECTED]



_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to