Py2.3: Feedback on Sets
Borcis
borcis at users.ch
Mon Aug 18 11:39:58 EDT 2003
More information about the Python-list mailing list
Mon Aug 18 11:39:58 EDT 2003
- Previous message (by thread): Py2.3: Feedback on Sets
- Next message (by thread): Py2.3: Feedback on Sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Hudson wrote: > >>>+ isn't totally silly (strings and lists are >>>monoids, at least :-). list * int, OTOH, seems a bit smelly to me >>>(though I'm not sure what a better spelling would be...). >> >>But strings/lists form a non-commutative monoid, so list * list >>would be better imho, and a corresponding list ** int > > Hmm, you're right of course,, but for some reason I prefer +. Maybe > it's the commutation with len()? renaming it to log() would make the *2+ homomorphism natural. > > Anyhoo, this is all pointless gassing :-) Right.
- Previous message (by thread): Py2.3: Feedback on Sets
- Next message (by thread): Py2.3: Feedback on Sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list