[Haskell-beginners] Questions on GHCi 6.10.4 + general questions
Stephen Tetley
stephen.tetley at gmail.com
Fri Nov 27 04:15:03 EST 2009
Hi Lev
Where clauses don't use braces so that's first problem.
Also this line near the end has a problem:
curr_bank_state = head . filter (\y -> y == (wr_bank,_) state
What should it be doing?
Best wishes
Stephen
2009/11/27 Lev Broido <lev.broido at gmail.com>:
> Hi
> I am getting the following message :
> parse error on input `=
> Code in question is attached .
>
> Another general question on haskell :
> I am not sure I understand correctly the 'where' clause usage , I'll
> happily accept comments on the code
>
> Thanks,
> Lev
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
More information about the Beginners
mailing list