Another difference between for and map is what happens when the BLOCK modifies the array that it's iterating over.
One could argue that this difference is just a side-effect of the specific implementation. ;)
In reply to Re^4: map in void context
by almut
in thread map in void context
by dharanivasan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |