[plt-scheme] Re: Explanation of this piece of code?

From: Thomas Chust (chust at web.de)
Date: Sun Apr 26 08:36:07 EDT 2009

2009-04-26 -gary- <gary.dunne1 at gmail.com>:
> [...] I'm still a little confused by "let*", "map" and "filter". [...]


the basic idea is that let* introduces local variable bindings, map
transforms a list by applying some operation to each of its elements
and collecting the results and filter picks those elements from a list
that satisfy a given predicate.

Maybe it would be useful for you to see an analogy of these constructs
in another programming laguage you know already? For that you would
have to tell us, though, which programming language you speak fluently

I also agree with the comments by others that it will probably help
you more to read a thorough explanation of the basics of Scheme than
to see a walk through the particular code snippet you posted.


When C++ is your hammer, every problem looks like your thumb.

Posted on the users mailing list.