I want to test if a particular verb was provided to my adverb.
I came up with the solution below. Is there a better way?

myadverb = {{
  res=. u {:y
  if. theverb f.`'' -:  u f.`'' do.
    res=. ({.y) ,: res
  end.
  res
}}
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to