On Wed, Nov 26, 2008 at 4:03 PM, Sherlock, Ric <[EMAIL PROTECTED]> wrote: > Thanks that does the job nicely. I'm not really clear about what it is doing > though. > Can anyone confirm or correct the following analysis of the sentence: > foo=: + 1 : tstr > > An adverb is defined by 1 : tstr that combines with the verb to its left + > which > acts as a sort of identity function returning the tacit sentence defined in > tstr as > new verb which is then assigned to foo. Is that anywhere close to reality?
If we start with tstr=: '(* ,: +)' then 1 :tstr is an adverb which ignores its argument and which will always produce the verb (* ,: +) That + (in: + 1 : tstr) is just an argument that will be ignored by this adverb, so that it knows that it's time to produce its result. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
