Hi! I was reading the docs and I was wondering why the update_in/3
description is different from others. Let me explain.
There are:
-
put_in/2
: Puts a value in a nested structure via the givenpath
. -
put_in/3
: Puts a value in a nested structure. -
get_and_update_in/2
: Gets a value and updates a nested data structure via the givenpath
. -
get_and_update_in/3
: Gets a value and updates a nested structure. -
update_in/2
: Updates a nested structure via the givenpath
. -
update_in/3
: Updates a key in a nested structure.
Is there a reason for the description to be different?
Maybe it should be just “Updates a nested structure.” to keep consistency.