Re: [elixir-core:11712] [Proposal] Adding Access.find/1

2024-03-20 Thread José Valim
Thank you. It seems the major objection was "waiting for a use case". There is a question about: what happens if you try to update an element that does not exist. But the behaviour in the PR mirrors `at`. We may want to introduce `find!` in the future to mirror `at!` as well. On Wed, Mar 20, 2024

Re: [elixir-core:11712] [Proposal] Adding Access.find/1

2024-03-20 Thread 'oliver....@googlemail.com' via elixir-lang-core
This is what I found: >From the original PR: https://github.com/elixir-lang/elixir/pull/6634 (this has a lengthy discussion on the merits). The original discussion about including both: https://groups.google.com/g/elixir-lang-core/c/LlZCz0iYgfc/m/5XLRvg8XAgAJ (not very detailed, discussion hap