Update increase_quantity function expectation (code analysis, hints and examples) on boutique-inventory concept exercise to use Enum.into/3 instead of Enum.map + Enum.into/1.
Motivation
@angelikatyborska found out by searching on community answers that most users are using Enum.map + Enum.into/1 on increase_quantity solution (which still correct), but the same can be achieved by only using Enum.into/3 which is a more concise and elegant solution for a concept exercise teaching about Enum usage.
Original thread: https://github.com/exercism/elixir-analyzer/pull/194
Description
Update
increase_quantity
function expectation (code analysis, hints and examples) onboutique-inventory
concept exercise to useEnum.into/3
instead ofEnum.map
+Enum.into/1
.Motivation
@angelikatyborska found out by searching on community answers that most users are using
Enum.map
+Enum.into/1
onincrease_quantity
solution (which still correct), but the same can be achieved by only usingEnum.into/3
which is a more concise and elegant solution for a concept exercise teaching aboutEnum
usage.