That bring be back to my previous argument that the APL designers made a mistake when they defined 'a' to be a character instead of a single-element array. It's inconsistent, and leads to ugly code where all single-character-strings have to be escaped as such: (,'a'), or as you put it: (1⍴'a') which is the same thing.
Regards, Elias On 18 May 2014 12:18, 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 > > > > > > > > > > > > > > > > > >