
Hello That was the problem. When I do <- instead of <-- I see outcome. So this problem is also solved. Everyone thanks for the help and patience. Roelof ________________________________
Date: Thu, 14 Jul 2011 09:25:33 +0100 Subject: Re: [Haskell-beginners] FW: question From: edwards.benj@gmail.com To: luca_ciciriello@hotmail.com CC: beginners@haskell.org; rwobben@hotmail.com
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"
mailto: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...