merge (Re: zip or marry etc)

Remco Gerlich scarblac-spamtrap at pino.selwerd.nl
Thu Jul 20 02:44:34 EDT 2000


Aahz Maruch wrote in comp.lang.python:
> I think I was insufficiently clear: in addition to "zip" having a known
> meaning, it does not have any connotation in computer terms of combining
> data that I've ever seen.  Yeah, if you want to call it "zipper", I
> might almost see your point.

The function zip as proposed (combine two lists into a list of pairs)
is straight from Haskell (and other functional languages) just like map
and filter. I think zip is the obvious name.

-- 
Remco Gerlich,  scarblac at pino.selwerd.nl
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs [STR]



More information about the Python-list mailing list