That sounds OK to me, as we can implement it on top of Access.fetch. :) PR
is welcome.

On Wed, Mar 9, 2022 at 3:13 AM Tyler Young <[email protected]> wrote:

> There's been advice <https://keathley.io/blog/good-and-bad-elixir.html> in
> the community to avoid unnecessarily locking yourself into a particular
> data structure by using Access.get/2 rather the Map or Keyword versions
> of get/2.
>
> In line with that, it would be nice if there were a corresponding
> Access.get_lazy/3. Obviously this wouldn't be available in the shorthand
> get syntax (my_container[:my_key]), but I think it'd be useful
> nonetheless.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/50dae814-c49c-43e1-8447-6b4a35bfcf96n%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/50dae814-c49c-43e1-8447-6b4a35bfcf96n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BDT3fAQm9Dgxr0Smn0k6WUReRAdDhUr9b7qqOPAc7eYw%40mail.gmail.com.

Reply via email to