(j. 1:) is a hook.
In this case (] j. 1:) is a monad, and the same as use of (j. 1:)

On 03/08/2016 03:47 AM, [email protected] wrote:
Date: Tue, 8 Mar 2016 02:24:27 -0500
From: "Linda Alvord"<[email protected]>
To:<[email protected]>
Subject: Re: [Jprogramming] Please explain
Message-ID:<[email protected]>
Content-Type: text/plain;       charset="utf-8"

Thanks Bob, I do get your result (I can't repsroduce what created my result?)

The ] doesn't seem to be necessary.

    ((]j.1:)^:<10)-:(]j.1:)^:<10
1

But I don't see why you would use a monadic definition for ^: in this case.

   j.1
0j1
    j.1:
j. 1:

Is it because  j.1: has no meaning?

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

Reply via email to