Py2.3: Feedback on Sets

Borcis borcis at users.ch
Mon Aug 18 11:09:08 EDT 2003


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, ans a corresponding   list ** int





More information about the Python-list mailing list