If $: appears in a tacit verb, its value is that entire verb.

It's when $: appears in a phrase in a sentence that it gets more complicated.

Henry Rich

On 5/19/2023 7:54 AM, David Lambert wrote:
Self reference applies to the verb in which it is defined.  This seems to be the entire tacit verb.

https://code.jsoftware.com/wiki/Vocabulary/dollarco

$ ijconsole
a=: i.4

ff=: 3 : 0
 +/ y
:
 ff x,:y
)

   ff a
6
   666 ff a
666 667 668 669

   ff_tacit=: +/ : ([: $: ,:)

   ff_tacit a
6

   666 ff_tacit a
666 667 668 669


Date: Mon, 15 May 2023 11:52:38 +0100
From: "'Rob B' via Programming"<programm...@jsoftware.com>
To: J Programming<programm...@jsoftware.com>
Subject: [Jprogramming] Bivalent verb query
Message-ID:<a1252382-10b8-4b99-a329-80ced898b...@me.com>
Content-Type: text/plain; charset=us-ascii


Could someone explain what I've misunderstood here please?


a=: i.4

ff=: 3 : 0
+/ y
:
$: x,:y
)

ff a,:a NB. works

a ff a  NB. STACK ERROR or crash

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

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

Reply via email to