Add map/filter/reduce/range/all/any to avoid accidental bugs in for loops #4596
Labels
closed due inactivity
The issue/PR was automatically closed due to inactivity.
language design
Any changes to the language, e.g. new features
stale
The issue/PR was marked as stale because it has been open for too long.
![:rage4: :rage4:](https://github.githubassets.com/images/icons/emoji/rage4.png)
The
for
loops are too verbose and any user can make mistake when increasing/decreasing counters: makoto/blockparty#175It would be much better to have
map/filter/reduce/range/all/any
like in Python so people can iterate and apply input in consistent and uniform way that is safe and easy to read.You may refer to all built-in Python functions here:
https://docs.python.org/2/library/functions.html
The text was updated successfully, but these errors were encountered: