On 10/28/07, Devon McCormick <[EMAIL PROTECTED]> wrote:
> ... your "name" and "class" functions are essentially the same verb with
> different arguments ...
> I would take a different approach.

I started down that path, but this approach makes construction of
the underlying data somewhat obscure.  The script uses J's parser
to manage these issues.

Also note that the verbs name and class were defined as
   makeparm@>;:'name class'

and the bodies of those verbs can be obtained using
   'name' parm
   'class' parm

That said, you are right -- J's rank only works on verbs, so any use
of attribute conjunctions with rank is going to require an encapsulating
verb.  And, pumping data into one of these verbs is still going to require
some array building.

Nevertheless, I believe these complexities can be kept fairly minimal by
sticking with the original design of web.ijs

I hope this helps.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to