Monadic "take" - " {. " - is also nice and simple:
${.1,''
On Thu, Oct 4, 2012 at 9:37 AM, Roger Hui <[email protected]> wrote:
> ''$1,''
> same as in APL, with the $ replacing the ⍴ (rho).
>
>
>
> On Thu, Oct 4, 2012 at 6:35 AM, Linda Alvord <[email protected]>wrote:
>
>> This is the crux of the problem:
>>
>> 1,''
>> 1
>> $1
>> $1,''
>> 1
>>
>> What is the simplest way to make the shape of 1,'' be empty?
>>
>> Linda
>>
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm