[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Use of PyScheme for game projects



So, it's not the familiar "foreach x in y" iterator?

On 7/17/06, Bob Ippolito <bob@xxxxxxxxxx> wrote:

On Jul 17, 2006, at 9:07 PM, andrew baker wrote:

> > Not available: for-each
>
> This puzzles me, as Python's own "for x in y" is a good example of
> a for-each.

for-each is only useful if you have procs with side-effects, it's
like map except the result is undefined.

-bob




--
Andrew Ulysses Baker
"failrate"