Need an identity operator because lambda is too slow
Raymond Hettinger
python at rcn.com
Sun Feb 18 01:19:41 EST 2007
More information about the Python-list mailing list
Sun Feb 18 01:19:41 EST 2007
- Previous message (by thread): Need an identity operator because lambda is too slow
- Next message (by thread): Need an identity operator because lambda is too slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Deron Meranda >] I'm looking for something in > Python which would act like an identity operator, or I-combinator: a > do-nothing function. The best I know of is: (lambda x: x), but it is > not ideal. File a feature request on SourceForge and assign to me. This has come up a couple of times and would be trivial to implement in the operator or functools modules. Raymond
- Previous message (by thread): Need an identity operator because lambda is too slow
- Next message (by thread): Need an identity operator because lambda is too slow
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list