I am very new to Haskell, and I am using this webpage as a learning source: <a href="http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell">http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell
</a><br><br>I downloaded and instal GHC and it works as was said.<br><br>I tried to write my first Haskell program:<br><br>prelude> "Hello World!"<br>"Hello World, World!"<br><br>it works as said.<br>
<br>Then: (This is the problem)<br><br>I would like to create a source code and compile it using GHC compiler. I opened a notepad and type this program:<br><br>main = putStrLn "Hello, Word!"<br><br>I saved this file as
hello.hs in the same directory GHCi 6.6.1 was installed.<br><br>When I tried to compile it as instucted on the webpage ( $ ghc -o hello hello.hs), I got this error message.<br><br><interactive>: 1:0: parse error on input '$'
<br><br>please what am I doing wrong.<br><br>Thank you and sorry for your time.<br><br>Tope<br>