http://arxiv.org/pdf/1401.1532v1.pdf
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
--
For information about J forums see http://www.jsoftware.com/forums.htm
Thanks for the explanation. That worked.
On Thu, Jan 9, 2014 at 12:27 PM, Raul Miller wrote:
> In your ((Y+X)*2) the grammar of your argument to xy matches the
> grammar of this sentence:
>
> ((+++)+2)
>
> Since this has a noun on the right, J will try to evaluate the
> expression before passing
In your ((Y+X)*2) the grammar of your argument to xy matches the
grammar of this sentence:
((+++)+2)
Since this has a noun on the right, J will try to evaluate the
expression before passing it to xy. And if I recall correctly, X is
defined to give a domain error when used without a right argument
Neat, it looks like it would be helpful for beginners to tacit. I may
have found a bug though or some unexpected behavior to me at least.
addMultiply2=: ((Y + X)*2) xy
|syntax error: X
These work
add=: (Y + X) xy
2 add 3
5
addMultiply=: ((Y + X)*X) xy
2 addMultiply 3
10
On Wed, Jan 8, 201