> Cloak strikes again, The power conjunction remains (too?) powerful :)
Many years ago a car magazine was interviewing a few car racing drivers regarding their impressions of a new sports car after testing it for a few days; one whined that the engine was too powerful and another retorted with a smile that no engine could ever be too powerful. (Some car manufacturers restrict the power of the engines and, of course, there are producers of gadgets that unleash the power.) On Fri, Jan 13, 2023 at 12:11 PM 'Pascal Jasmin' via Programming < [email protected]> wrote: > > Cloak strikes again, > > isNoun_z_ =: (0 = 4!:0 ( :: 0:))@:< > eval_z_ =: 1 : 'if. 2 ~: 3!:0 m do. m else. a: 1 : m end.' NB.1 : ' a: 1 : m' > aar =: 1 : 'if. isNoun ''u'' do. q =. m eval else. q =. u end. 5!:1 < ''q'' ' > Cloak=: aar(0:`)(,^:) > oa =: 1 :'u Cloak @:' NB. apply quoted adverb after result. Can produce modifier > > > + 'X' oa 32 > > 32&+ > > 2 (+ 'X' oa) 32 > > 34&+ > > 2 + ('X' oa) 32 > > 34&+ > > > > > > On Friday, January 13, 2023 at 11:19:49 a.m. EST, 'Pascal Jasmin' via Programming <[email protected]> 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
