[Haskell-cafe] Need feedback on my Haskell code

Johan Tibell johan.tibell at gmail.com
Wed Jul 29 07:06:31 EDT 2009

On Wed, Jul 29, 2009 at 12:04 PM, CK Kashyap <ck_kashyap at yahoo.com> wrote:

> 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090729/3e6d3404/attachment-0001.html

More information about the Haskell-Cafe mailing list