This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory_p
Recipients
Date 2006-06-14.15:12:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I think it would be very usefull to have something 
similar to Haskell's "dot" operator in Python, IMO it 
should be something like this (untested):

def compose(f, g):
    return lambda *args, **kws: f(g(*args, **kws))

but C-coded. So, _functools can be a good place for it.

--
Regards, Gregory.
History
Date User Action Args
2007-08-23 16:11:57adminlinkissue1506122 messages
2007-08-23 16:11:57admincreate