I proposed your 'r2m' as a primitive n: (for 'now') a while ago, and received
a lukewarm response. I don't think it can be implemented other than as a
primitive. (And I still think it would be a good idea to have.)
Your solution which quotes the modifier name works, but I find it distasteful.
And it has some trouble with conjunctions; how do you disambiguate the
following?
(u r2m) C v
u C (v r2m)
(u r2m) C (v r2m)
You can't, so you would need a separate form for each.
On Fri, 13 Jan 2023, 'Pascal Jasmin' via Programming wrote:
X =: 1 : 'm&+'
What definition of r2m (result to m argument) below would allow X to see the
result of + y (or x+y) as its m argument?
+ r2m X 3
purpose would be for X to produce a modifier from application of "verb".
Requirement is only that y argument (3 above) is outside any verb phrase.
Jose/Dan's Cloak magic? turn result into atomic or linear representation?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm