In a little sandbox project I wanted to update all the values associated to 
a key in a keyword and I haven't found a function in the Keyword module so 
I implemented it with the following specification:

@spec update_values(t, key, (value -> value)) :: t

If you think it'd be added to the module, I'll do a PR with the code.

-- 
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/62683691-c36c-4c2c-977e-55232e24c346%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to