Hi everybody,
I would like to bring this proposal back since I just typed `def put_if` again in another module :)
Being my first proposal I don't know what is the usual process, but I think the discussion showed that there is some interest in this functionality.
I personally like the `update_if` proposal made by José because it's a more general construct that can be useful in various situation. I wouldn't mind also having a `Map.put_if` function in the Map module but I'm fine using `update_if` in case.
--
Riccardo
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/trinity-a6299034-4adc-4d26-abda-4b7bf7e3bfb6-1595510432137%403c-app-mailcom-bs03.
