Quite right.  I thought of that.

It's feasible - there are, at a guess, a dozen places where execution on an empty cell is performed.  These would need to stack a value that T. or any other side-effect-producing primitive could check.

This proposal could go onto the issues list.

Henry Rich

On 4/27/2022 11:31 AM, Raul Miller wrote:
On Wed, Apr 27, 2022 at 11:27 AM Henry Rich <[email protected]> wrote:
Unfortunately this is simply following the rules by which an empty
argument is executed on a cell of fills. There's no way to know that the
execution is intended only to get the shape and type.
You can have the interpreter inform itself that that's what it is doing.

Conceptually, this mechanism should set (then clear) a thread based
"variable" which T. checks, to find if the current thread is inside
this mechanism or not.



--
This email has been checked for viruses by AVG.
https://www.avg.com

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

Reply via email to