Re: 2-days old in Haskell

2007-06-04 Thread TOPE KAREM
Thanks to all ( Stefan, Ketil and Brown). It works both on Linux and Windows. Tope On 6/2/07, Stefan O'Rear [EMAIL PROTECTED] wrote: On Fri, Jun 01, 2007 at 04:00:51PM +0200, TOPE KAREM wrote: I am very new to Haskell, and I am using this webpage as a learning source:

2-days old in Haskell

2007-06-01 Thread TOPE KAREM
I am very new to Haskell, and I am using this webpage as a learning source: http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell I downloaded and instal GHC and it works as was said. I tried to write my first Haskell program: prelude Hello World! Hello World, World! it works

Re: 2-days old in Haskell

2007-06-01 Thread C.M.Brown
Hi Tope, When I tried to compile it as instucted on the webpage ( $ ghc -o hello hello.hs), I got this error message. are you actually typing in that '$' into the command prompt? try leaving out the '$' and just type ghc -o hello hello.hs. Chris.

Re: 2-days old in Haskell

2007-06-01 Thread Ketil Malde
On Fri, 2007-06-01 at 16:00 +0200, TOPE KAREM wrote: I opened a notepad and type this program: main = putStrLn Hello, Word! I saved this file as hello.hs in the same directory GHCi 6.6.1 was installed. You can store it anywhere, as long as GHC is in your search path. When I tried to

Re: 2-days old in Haskell

2007-06-01 Thread Stefan O'Rear
On Fri, Jun 01, 2007 at 04:00:51PM +0200, TOPE KAREM wrote: I am very new to Haskell, and I am using this webpage as a learning source: http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell I downloaded and instal GHC and it works as was said. I tried to write my first