Late to the party, but what about simply thinking of (map) as indexing into the
cartesian product ({'abc';'ABCD')?

       (({'abc';'ABCD') {~ $ <@#: I.@,) map
    ┌──┬──┬──┬──┐
    │aA│aD│bB│bC│
    └──┴──┴──┴──┘
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to