[Python-Dev] re: list comprehension / pop quiz
Mark Favas
m.favas@per.dem.csiro.au
Thu, 13 Jul 2000 20:28:24 +0800
Greg Wilson wrote:
2. Need separate functions for creating tuples, lists, dicts, etc. I
liked Ken M.'s idea of one function that took a type argument, and
stitched/married/wove/welded/whatever'd its arguments to create
something of that type, as it would require only one new function.
I'd like to endorse Ken's idea very strongly - and suggest the name
"plait" (which can clearly operate on 2, 3, 4, or more strands - and can
produce beautiful effects...
--
Email - m.favas@per.dem.csiro.au Mark C Favas
Phone - +61 8 9333 6268, 0418 926 074 CSIRO Exploration & Mining
Fax - +61 8 9383 9891 Private Bag No 5, Wembley
WGS84 - 31.95 S, 115.80 E Western Australia 6913