Thank you for the suggestions. I should have been using strict and warnings, of course. Maybe then I would have seen more easily where my problem was.
I don't have Conway's book, so I can't see in what context he recommends using the block (rather than the expression) form of map. But I do have reasons for wanting the expression form:
In reply to Re^4: Problems with map(function, array)
by Redei
in thread Problems with map(function, array)
by Redei
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |