Justin Paston-Cooper wrote: > > Hello, > > Is it possible to tacitly define the following dyad? > > f =: 4 : '(>&(2*x)) y' > > If not, is it possible to do it using adverb composition? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > Yes, an adverb composition solution is:
F =: (&*)(>&)~ Now 2 F generates your verb f, i.e x f y is the same as x (2 F) y PS: composed on a handheld device. -- View this message in context: http://old.nabble.com/A-Tacit-Definition-tp29674743s24193p29675062.html Sent from the J Programming mailing list archive at Nabble.com. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
