Update: Nevermind, that was your intention. Sorry, I guess I didn't read your whole post.
The latter doesn't work. You seem to be expecting lazy evaluation, but map processes the entire list before grep is called.
Fix:
In reply to Re^2: Fast way - get array elements > 4 chars
by ikegami
in thread Fast way - get array elements > 4 chars
by imrags
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |