Ok. 4 :0 1y2x : 0 )
4 :0 ignores the monadic part of the definition. Here's another oddity: F=:3 :0 1 : 2 : 3 ) Predict: F 'c' 'a' F 'b' Thanks, -- Raul On Tue, Mar 18, 2014 at 9:08 PM, Henry Rich <[email protected]> wrote: > That's silly enough, but I meant that one of the lines read by the : that > defined the verb was 1y2x. > > (in your example, the : that defines the verb doesn't read lines from the > script). > > Henry Rich > > > On 3/18/2014 7:59 PM, Raul Miller wrote: > >> Here's one way: >> >> F=: 3 :(0 :0-.LF) >> x+y >> NB. >> 1y2x >> ) >> >> (This presumes that "One the lines" meant "One of the lines"). >> >> Thanks, >> >> ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
