Re: [elixir-core:11656] Re: add Keyword.take!/2, Map.take!/2

2024-02-21 Thread José Valim
+1 for the proposal, but it has to be implemented more efficiently than what was described here and we also need to add drop!. PRs welcome. On Wed, Feb 21, 2024 at 10:59 AM Artur Plysiuk wrote: > I just came here to add the same proposal. > > четвер, 28 грудня 2023 р. о 11:40:07 UTC+2 DaTrader

[elixir-core:11656] Re: add Keyword.take!/2, Map.take!/2

2024-02-21 Thread Artur Plysiuk
I just came here to add the same proposal. четвер, 28 грудня 2023 р. о 11:40:07 UTC+2 DaTrader пише: > It's not special at all. Actually it is as generic as the current > `Keyword.take/2`. You either want the operation to succeed if there aren't > all keys present or you want it to fail. Those