[Haskell-beginners] Compiling

Chris Saunders evas at mountaincable.net
Fri Jun 25 01:24:28 EDT 2010

Thanks very much Aditya.  The language I use most is Eiffel which is case 
insensitive so I'm not accustomed to seeing such errors.

Chris Saunders

From: "aditya siram" <aditya.siram at gmail.com>
Sent: Friday, June 25, 2010 12:52 AM
To: "Chris Saunders" <evas at mountaincable.net>
Cc: <beginners at haskell.org>
Subject: Re: [Haskell-beginners] Compiling

> Try putStrLn.
> -deech
> On Fri, Jun 25, 2010 at 12:50 AM, Chris Saunders <evas at mountaincable.net> 
> wrote:
>> I have just started trying to learn Haskell again (I seem to have a 
>> mental
>> block against this language).  Right now I'm using Haskell in 5 steps.  I
>> have created the file hello.hs exactly as in the section "Write your 
>> first
>> Haskell program".  I then opened a cmd (I'm using Windows) window in the
>> directory where I created hello.hs and entered "ghc -o hello hello.hs". 
>> What
>> follows is the output of the cmd window:
>> hello.hs:1:7: Not in scope: data constructor `PutStrLn'
>> Can someone tell me why I am having this problem?
>> Regards
>> Chris Saunders
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list