Re:When Functional Programming Isn't Functional
by archgoon on Monday April 02, 2018 @03:12AM
(#16732875)
Yes, but that's another issue with the article. Modifying the first to return a list though is trivial, you declare an List at the beginning and then you append in the for loop.
[ Parent
| on HN ]
There are no comments on this comment yet.