toy list processing problem: collect similar terms

Ben Morrow ben at morrow.me.uk
Sun Sep 26 17:39:56 CEST 2010


Quoth pjb at informatimago.com (Pascal J. Bourguignon):
> 
> It's too complex. Just write:
> 
> (let ((list '((0 a b) (1 c d) (2 e f) (3 g h) (1 i j) (2 k l) (4 m n) 
>               (2 o p) (4 q r) (5 s t))))

Unless you're going to talk about Perl, please take clpmisc out of the
xpost.

Ben




More information about the Python-list mailing list