Python style.

Fredrik Aronsson d98aron at
Thu May 11 17:14:27 CEST 2000

In article <8666smcfwv.fsf at g.local>,
	Gareth McCaughan <Gareth.McCaughan at> writes:
> But my preference, which is for some notation along the
> lines of
>     map({a,b,c -> a+b+c}, p,q,r)
> isn't very Pythonic. Especially as we already have a {...}
> syntax for dictionaries.
Well, using Haskells syntax, I would suggest
map((\a,b,c -> a+b+c), p,q,r)

Python-with-haskell-syntax-would-be-a-dream-ly yours,

More information about the Python-list mailing list