The callback is not necessary; you can translate anything written with map to foreach. I still prefer map for a whole class of tasks, though.
Makeshifts last the longest.
In reply to Re^8: Fold a list using map splices
by Aristotle
in thread Fold a list using map splices
by hiseldl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |