Re: [Jprogramming] Silly puzzle

2014-03-19 Thread Henry Rich
Right! Henry Rich On 3/19/2014 1:24 AM, Raul Miller wrote: 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, ---

Re: [Jprogramming] Silly puzzle

2014-03-18 Thread Raul Miller
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 wrote: > That's silly enough, but I meant that one of the lines read by the : t

Re: [Jprogramming] Silly puzzle

2014-03-18 Thread Henry Rich
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. 1

Re: [Jprogramming] Silly puzzle

2014-03-18 Thread Raul Miller
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, -- Raul On Tue, Mar 18, 2014 at 7:12 PM, Henry Rich wrote: > I wrote the explicit definition of a verb. It used : 0 to read lines from > the script it was defi

[Jprogramming] Silly puzzle

2014-03-18 Thread Henry Rich
I wrote the explicit definition of a verb. It used : 0 to read lines from the script it was defined in. One the lines, encountered before the end-of-verb delimiter ), was 1y2x (just the 4 characters). Yet, the definition was created without error. How is this possible? Henry Rich --