C
Chris Dutton
I'm just curious. I've been trying to demonstrate functional thinking
in Python, but I can't find these methods for int objects. It would be
immensely helpful for something like:
filter(4 .__lt__, range(10))
As opposed to:
filter(lambda a: 4 < a, range(10))
in Python, but I can't find these methods for int objects. It would be
immensely helpful for something like:
filter(4 .__lt__, range(10))
As opposed to:
filter(lambda a: 4 < a, range(10))