Re: [elixir-core:10581] Proposal: Map.replace/3 with a (map, key, fun) option

2021-12-12 Thread Andrea Leopardi
I love lazy_ too. We use _with for Enum functions such as split_with, but in Map I prefer lazy_ too now that you brought it up! > On 12 Dec 2021, at 09:44, José Valim wrote: > >  > Thank you for the proposal! > > I believe we actually discussed this a couple times, but we could never come >

Re: [elixir-core:10582] Proposal: Map.replace/3 with a (map, key, fun) option

2021-12-12 Thread José Valim
A PR that adds replace_lazy to Keyword and Map is welcome! On Sun, Dec 12, 2021 at 13:48 Andrea Leopardi wrote: > I love lazy_ too. We use _with for Enum functions such as split_with, but > in Map I prefer lazy_ too now that you brought it up! > > On 12 Dec 2021, at 09:44, José Valim wrote: >