[Antoine Pitrou]
I also think it would be a nice addition.
(but someone has to propose a patch :-))

I agree with Martin's reasons for rejecting the feature request
(see the bug report for his full explanation). IIRC, the compose() idea had come-up and been rejected in previous discussions as well.

At best, it will be a little syntactic sugar (though somewhat odd because
the traditional mathematical ordering of a composition operator is the
opposite of what intuition would suggest).  At worst, it will be slower
and less flexible than our normal ways of linking functions together.

IMO, its only virtue is that people coming from functional languages
are used to having compose.  Otherwise, it's a YAGNI.


Raymond



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to