>   A=: 1 : '0&(;@:u) :: empty'

Can be expressed tacitly as B=: 0&(;@:) (:: empty) .  In general, tacit
adverbs are trains of adverbial clauses, so if you want to add another, you
only need to wrap it in parens and tack it on the end.  

Though your phrasing  0&(;@:)  is very appealing; it seems to "beg for an
argument" more than the vanilla formulation of  (0&) (;@:)  .

-Dan

-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of David Ward Lambert
Sent: Monday, February 20, 2012 10:50 AM
To: programming
Subject: [Jprogramming] tacit adverb

I had

   A=: 0&(;@:)
   u A y

My u raises an error if y is bad, in which case EMPTY is a reasonable
result.  I'd prefer not checking y in each u.  What is the tacit

   A=: 1 : '0&(;@:u) :: empty'

?  Thanks, Dave.

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

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

Reply via email to