TIL: Using functions as keys with update_in in Elixir
If you aren't already aware, Elixir has some very handy convenience helpers for accessing and updating nested values: get_in, put_in and update_in. These helpers simplify nested map manipulation.
If you aren't already aware, Elixir has some very handy convenience helpers for accessing and updating nested values: get_in, put_in and update_in. These helpers simplify nested map manipulation.