diff options
author | felipe stival <v0idpwn@gmail.com> | 2020-12-09 11:35:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 15:35:19 +0100 |
commit | a979b882f9bd0b001b00df67c4937bb5da059347 (patch) | |
tree | 0f207d54290c47be6d7079a08469d536cf7a10f6 /bin | |
parent | 774b87ba19c997ae10ff0b6775d6f1cdb4839919 (diff) | |
download | elixir-a979b882f9bd0b001b00df67c4937bb5da059347.tar.gz |
Add support for functions on Enum.with_index/2 (#10552)
Makes Enum.with_index/2 supports both functions and offsets by setting
a default function (fn element, index -> {element, index} end) and
a default offset (0) and letting the user change one of them on the
second argument.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions