R.E. Boss wrote:
> #~ is equivalent to (] # [)

In the given context: yes -- but their ranks differ.  Dig this:

   'ab' |.@(]#[) m =. 2 3 ,: 3 2
aaabb
aabbb
   'ab' |.@(#~)  m
bbbaa
bbaaa

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

Reply via email to