getting started with the glasgow haskell compiler
Johansson Mikael
mikael.mj.johansson@volvo.com
Thu, 9 Aug 2001 09:50:20 +0200
Hello!
I'm just getting started using the glasgow haskell compiler and when I =
try to=20
compile a simple program, named Hello.lhs, like this:
module Main (main) where
main =3D 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=20
Mikael Johansson=20
Control System Engineer
Performance and control
Volvo Aero Corporation
Military Engines Trollh=E4ttan
Dept. 7164MJ
SE-461 81 Trollh=E4ttan, Sweden
phone +46 520 940 61
e-mail: mikael.mj.johansson@volvo.com