On Wed, Sep 3, 2008 at 3:49 PM, Tracy Harms <[EMAIL PROTECTED]> wrote:
> Ian Gorse asked:
>> On a side note regarding the same subject
>>
>> Why didn't Chris use p=: 1 = [EMAIL PROTECTED]:
>> Which produces the same results. I suppose he was explaining the use of Forks
>
> No, actually.  It is because the two functions are not synonymous.
>
>   pp=: 1 = [EMAIL PROTECTED]:
>   p=: #~ 1: = [EMAIL PROTECTED]:

I think that Ian was concerned about the distinction between 1 and 1:

In other words, compare:
    pp=: 1: = [EMAIL PROTECTED]:
    pp1=: 1 = [EMAIL PROTECTED]:

    p=: #~ 1: = [EMAIL PROTECTED]:
    p1=: #~ 1  = [EMAIL PROTECTED]:

That said, note that 1 and 1: each mean the same thing in this context.
1 gets treated like 1"_ and 1: has that same definition.

However, this is a relatively new feature and a lot of J's documentation
was written earlier.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to