[Haskell-beginners] FW: question

Roelof Wobben rwobben at hotmail.com
Thu Jul 14 09:55:30 CEST 2011


Oke,


I tried with Ghci 7.03 on the prompt but then I see this:


[x^2 | x <-- [1..100]


not in scope x
not in scope <--


When I put the text in a file I see these errors.


parse error : naked expression at top level.


Roelof


>
>
>
> ----------------------------------------
> > Date: Wed, 13 Jul 2011 23:04:58 +0200
> > From: andres.loeh at googlemail.com
> > To: beginners at haskell.org
> > Subject: Re: [Haskell-beginners] question
> >
> > I've just tried to evaluate 2 ^ 5 in codepad and it worked for me, so
> > (^) seems to be supported.
> >
> > Cheers,
> > Andres
> >
> > _______________________________________________
> > Beginners mailing list
> > Beginners at haskell.org
> > http://www.haskell.org/mailman/listinfo/beginners 		 	   		  


More information about the Beginners mailing list