> I guess this is the final proof that given J and a sufficiently > POWERful > AGENDA, you can DO anything!
agenda=. ]^:(1:`(<'@.')) (atop=. (<'@') agenda 0) @ type 'agenda' ┌────┐ │verb│ └────┘ type 'atop' ┌───────────┐ │conjunction│ └───────────┘ (insert=. (<'/') agenda 0) / type 'insert' ┌──────┐ │adverb│ └──────┘ Many congratulations Dan! You have shown us the way for a verb to produce adverbs and conjunctions. I have not tested (dont) yet but I suspect that it is actually more powerful than (do) and it is something than has been asked for (do) to do (if you know what I mean). I am afraid that the door will be closed but with an open source one can open it again. :) On Thu, Jan 24, 2013 at 6:52 PM, Dan Bron <[email protected]> wrote: > I wrote: > > dont =: ... ^: ... @. ... > > > > dont '+: 5 10 20' > > 10 20 40 > > dont '+/ 5 10 20' > > 35 > > dont '(+/ % #) 5 10 20' > > 11.6667 > > I guess this is the final proof that given J and a sufficiently POWERful > AGENDA, you can DO anything! > > -Dan > > PS: Sorry, sorry, I'll quit now. I just couldn't let that opportunity > slip > by ;) > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
