The first problem I see is that "x <--" is wrong... it should be just x <-, a single hyphen.

On 14 Jul 2011 09:18, "Luca Ciciriello" <luca_ciciriello@hotmail.com> wrote:

Hi.
On wich system are you using GHCi ? Probably I missed this information from the previous mail.

I'm using GHC 7.0.4 on MacOS X 10.6.8 (Xcode 4) and all works fine with [x^2 | x <- [1..10]].

You can try to see if you installation of ghc is ok typing "ghc-pkg list" from a console, or using the command ghc -v to see if there are some strange notification.

Luca.



On Jul 14, 2011, at 9:55 AM, Roelof Wobben wrote:

>
> Oke,
>
>
> I tried with Ghci 7.03 on the...