[Jprogramming] ((0&)(;@:))( ::empty)

Viktor Cerovski viktor.cerovski at gmail.com
Tue Feb 21 00:11:25 HKT 2012




David Ward Lambert wrote:
> 
> I asked how to write tacit A
> 
>    A=: 1 : '0&(;@:u) :: empty'
> 
> And have discovered parentheses to convert the conjunction into an
> adverb.  The answer is
> 
>    A=: ((0&)(;@:))( ::empty)
> 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> 
Actually, that's not correct. Instead:

  A =: ;@:(0&)( :: empty)

For example:

   v A
0&(;@:v) ::empty

-- 
View this message in context: http://old.nabble.com/Re%3A-%28%280-%29%28-%40%3A%29%29%28-%3A%3Aempty%29-tp33357622s24193p33357647.html
Sent from the J Programming mailing list archive at Nabble.com.



More information about the Programming mailing list