For, Map and Reduce in Elixir #MyElixirStatus
One of the students in my Introduction to Functional Programming course recently submitted a code snippet. It became evident that they assumed Elixir’s ‘for’ construct operates similarly to ‘for’ loops in non-functional programming languages. However, this is not the case, as Elixir’s ‘for’ is fundamentally different in its behavior. https://dev.to/adolfont/for-map-and-reduce-in-elixir-26op