
29 Jul
2009
29 Jul
'09
7:06 a.m.
On Wed, Jul 29, 2009 at 12:04 PM, CK Kashyap
It worked like a charm!!! I'd need more time to get my head around "unfoldr" I'd appreciate it very much if you could explain this line "map maySwitch . unfoldr go $ (x1,y1,0)" I did not fully understand the "$" in that line - I tried putting parenthesis in various places to get rid of "$" but did not seem to work.
(map maySwitch . unfoldr go) (x1,y1,0) should work. Cheers, Johan