From 17f6534de785b787d091d403acc8a73fa5b66603 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Thu, 25 Aug 2016 21:22:22 -0500 Subject: [PATCH] Fix a typo in the latest til --- elixir/updating-values-in-a-map.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir/updating-values-in-a-map.md b/elixir/updating-values-in-a-map.md index 391024a..2b2a6ae 100644 --- a/elixir/updating-values-in-a-map.md +++ b/elixir/updating-values-in-a-map.md @@ -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: