On Mon, Apr 4, 2011 at 11:46 AM, Zsbán Ambrus <[email protected]> wrote:
> That's not what the dictionary says though.  The dictionary page
> "http://www.jsoftware.com/help/dictionary/dtdotu.htm"; claims that it
> was designed to deal with a left argument too.

You are right.

In that case, ^t. could display as itself, and not derive its result
until it knows whether or not it has a left argument to go with its
right argument.  But that does not seem like a useful design, since
^t. would no longer display anything informative.

Another option would be to return a monad : dyad expression.

In other words:

   ^t.
   !@% :(^ * !@%)

In other words, if U is the current result of t. return U 1 :'u : (^ * u)'

I am not sure that I particularly like this either -- I imagine that a
small change to the dictionary could be better.

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

Reply via email to