Suppose there is a class called "Stack" and it includes "pop" method.
Now I create three stack instaces, each named s1, s2, and s3. What I want to do is call "pop" on each of them and gather the results into one vector. Using "for" construct might fit here but after all J is all about loopless programming. What I'd like to acheive is something like, stacks=: s1, s2, s3 'pop' mapOn stacks NB. the result is (pop__s1 0), (pop__s2 0) , pop__ s3 0 June ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
