| | |
- find_if(l, p)
- index_if(l, p)
- max2(a, b)
- Return the bigger value between a and b.
Return None if and only if both a and b are None.
- min2(a, b)
- Return the smaller value between a and b.
Return None if and only if both a and b are None.
- sort_by_value(sequence, evaluator=<function <lambda>>, reverse=0)
- Sort a list of object by the value.
If an evaluator is specified it is applied to each item
and the sequence is sorted by the result.
The default evaluator is the identity operator
- sort_by_value_inplace(sequence, evaluator=<function <lambda>>, reverse=0)
|