toy list processing problem: collect similar terms

Alexander Burger abu at software-lab.de
Sun Sep 26 01:29:20 EDT 2010


In PicoLisp:

(mapcar
   '((X) (apply conc (cdr X)))
   (group List) )

Cheers,
- Alex



More information about the Python-list mailing list