I tried the ravel everything method, but that lead to APL2 disclosing a vector into a matrix.... APL2 fought me touth and nail. I gave up and wrote box/unbox.
--blake On Sat, May 17, 2014 at 11:18 PM, Frederick H. Pitts <fred.pi...@comcast.net > wrote: > Blake, > > Thanks for the detailed response. I understand the issue more > clearly > now. > > I think I would ask the user to reshape scalar arguments to vectors > (e.g. (1⍴'k')(1⍴'v')). But then, that is as onerous as having to > remember to use box everywhere its required. > > Regards, > > Fred > > On Sat, 2014-05-17 at 22:20 -0500, Blake McBride wrote: > > Lastly, > > > > > > ⍴(box 'abc'),box 'def' > > ┌→┐ > > │2│ > > └─┘ > > > > > > Blake > > > > > > > > > > > > > > > > >