
----------------------------------------
From: rwobben@hotmail.com To: adrien@adrienhaxaire.org Subject: RE: [Haskell-beginners] question Date: Wed, 13 Jul 2011 20:07:54 +0000
----------------------------------------
Date: Wed, 13 Jul 2011 22:00:40 +0200 From: adrien@adrienhaxaire.org To: beginners@haskell.org Subject: Re: [Haskell-beginners] question
Le 13/07/2011 21:27, Roelof Wobben a écrit :
For a exercise I need to multiply a number by itself.
So I used :
[x^2 | x<- [1..100]]
but now I get a error message on codepad that ^is unknown. What can I use then and where do I find it on a keyboard?
Roelof
Hello,
What does codepad not recognize? the caret character or the expression you used?
It don't regonize the caret character, Like I said I use www.codepad.org and it uses Hugs. Roelof