Re:Don’t Be Scared Of Functional Programming
by dragonwriter on Wednesday July 02, 2014 @07:06PM
(#7980413)
> Mmmm, really? A map? Like Google maps? Like a paper map? unfamiliar terminology.
No, a map like the Python built-in function "map". Though, really, the for loop in your Python sample isn't a map done as a for loop, its a reduce done as a for loop. (Again, like the Python built-in "reduce".)
No, a map like the Python built-in function "map". Though, really, the for loop in your Python sample isn't a map done as a for loop, its a reduce done as a for loop. (Again, like the Python built-in "reduce".)