radar / joyofelixir

A gentle introduction to the Elixir programming language
https://joyofelixir.com
Creative Commons Attribution Share Alike 4.0 International
148 stars 34 forks source link

Ch9 ex2 solution uses other numbers #103

Open mpas97 opened 3 years ago

mpas97 commented 3 years ago

Exercise 2 in chapter 9 says: Use Enum.reduce/2 to multiply these numbers together: [5, 12, 9, 24, 9, 18] The solution then reads: Use Enum.reduce/2 to multiply these numbers together: [2, 4, 991, 2543]

This is confusing as we probably just want the compare the computed result.