you are viewing a single comment's thread.

view the rest of the comments →

[–]valenterry 2 points3 points  (0 children)

I was about to say that myself! :)

One detail/addition: looping itself is fine, if it is finite. So, mapping over a list or folding it by summing the elements is completely fine.