1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Fix a typo in the latest til

This commit is contained in:
jbranchaud
2016-08-25 21:22:22 -05:00
parent a349db5af0
commit 17f6534de7

View File

@@ -7,7 +7,7 @@ not already present in the map, generally associating some default value.
In Elixir, the `Map` module provides the `get_and_update/3` function as a
way of accomplishing such a task.
You need to provide the map, the key to be fetched and update, and a
You need to provide the map, the key to be fetched and updated, and a
function for _transforming_ (or updating) the existing value.
Let's use a score counting example to see it in action: