[PEP 202] Re: [Python-Dev] Product iteration

Bill Tutt billtut@microsoft.com
Tue, 25 Jul 2000 15:53:22 -0700

> From: 	Eric S. Raymond [mailto:esr@thyrsus.com] 

> Skip Montanaro <skip@mojam.com>:
> > Part of the motivation for list comprehensions as I recall is that we'd
> > to get away from such a strong reliance on map, reduce and filter.

> In that case, the the lesson is that this is a bad road to go down.
> The cost of moving away from a functional syntax, in this case, seems
> to be dubious thickets of syntactic ugliness,

> Mind you, I'm not a functional-language bigot; I'm not after turning
> into LISP.  Python has taught me the limits of the LISP approach to the
> But I think the lesson from this particular debate is that it's not really
> possible to do better than functional syntax for expressing the kinds of
> that want to go on the right side of a comprehension.

Amen. I personally liked the Haskell syntax Jeremy posted earlier. It just
makes sense visually.