Dot-comma, anyone? (Re: zip or marry etc)

Paul Prescod paul at prescod.net
Sun Jul 23 02:35:10 EDT 2000


Greg Ewing wrote:
> 
> ...
> 
> About that particular syntax, yes. But not about
> the idea of some sort of zipping syntax.

Note that this feature started as a syntax and was "demoted" to a name
when it was realized that there was no syntax that would "call out"
parallel not cross-product. Plus, why add syntax when a function will
do?

> If there were a special syntax for zipping, the
> compiler could easily recognise this case and
> optimise it.

We should get to the point where compilers can recognize and optimize
built-in functions soon.

-- 
 Paul Prescod - Not encumbered by corporate consensus
"Hardly anything more unwelcome can befall a scientific writer than 
having the foundations of his edifice shaken after the work is 
finished.  I have been placed in this position by a letter from 
Mr. Bertrand Russell..." 
 - Frege, Appendix of Basic Laws of Arithmetic (of Russell's Paradox)




More information about the Python-list mailing list