func | Python | Numpy(APL) | C++/Cpp | JavaScript/ TypeScript | Rust |
map | map | np.vectorize | for_all | map | map |
filter | filter | mask array | https://stackoverflow.com/questions/21204676/modern-way-to-filter-stl-container | filter | filter |
reduce | reduce | sum | partial_sum | reduce | reduce |
any | any | arr.any() | any_of | some | any |
all | all | arr.all() | all_of | every | all |
first meet cond | next | argmax | find_if | indexOf | find |
lambda | lambda | lambda | auto f = [](){} | ()=> {} | move |
addition:
python has list comprehension.