exercism / elixir-analyzer

GNU Affero General Public License v3.0
31 stars 32 forks source link

Update concept exercise `boutique-inventory` expectation to use Enum.into #199

Closed fmmatheus closed 2 years ago

fmmatheus commented 3 years ago

Original thread: https://github.com/exercism/elixir-analyzer/pull/194

Description

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.

AlenMorgan commented 2 years ago

I think this [ Add check for increase_quantity function on boutique-inventory exercise ]

angelikatyborska commented 2 years ago

This issue was already resolved a while ago in: https://github.com/exercism/elixir-analyzer/pull/203