I see. Thanks for this response. In other words, a: is a reference to m} documentation. I'm finding that documentation extensive but the reference pattern a bit cryptic, so this will take time to unpack.
The third warning is from: https://github.com/jsoftware/base9/blob/535a3b323010114b5225d9264020be60c4704456/project/util.ijs#L43 fixNB_jp_ =. 3 : 0 x=. I. 'nb.' E. y 'NB' (<"0 (0 1) +/~ x) } y ) nb =. 0 : 0 nb. nb. defines list of source files. nb. path defaults to project directory. ) fixNB_jp_ nb (002) homogeneous multiple selectors in (x m} y): consider using rank-2 m which perhaps one would fix with: fixNB_jp_ =. 3 : 0 x=. I. 'nb.' E. y ('NB' $~ +: # x) (, (0 1) +/~ x) } y ) On Thu, Jul 21, 2022 at 11:23 AM Henry Rich <[email protected]> wrote: > You have to handle each case separately. For example > > 100 200 300 (2})"0 1 i. 3 3 > 0 1 100 > 3 4 200 > 6 7 300 > > can be written as > > 100 200 300 (<a:;2)} i. 3 3 > 0 1 100 > 3 4 200 > 6 7 300 > > for your second example. > > For your first, it depends what the arument ranks are. > > For your third, we don't see the sentence but it is saying you have > something like > > 4 ((<2 3),<3 5)} i. 6 6 > > and it would be better as > > 4 (2 3,:3 5)} i. 6 6 > > Henry Rich > > > > On 7/21/2022 2:15 PM, John Ference wrote: > > Is there guidance available for correcting these warnings? > > > > ((-:@{~)`]`[}"_1 i.@#)@:(+ |:) > > > > ({~ (i. >./)@:({."1)) @: ((+ 1&({"1)) 1}"0 1 ]) > > > > (004) m}"n should be executed without " using leading axes of a: in m > > > > > > load'/applications/j904/system/util/project.ijs' > > > > (002) homogeneous multiple selectors in (x m} y): consider using rank-2 m > > > > > > Thanks and regards, > > > > John > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > -- > This email has been checked for viruses by AVG. > https://www.avg.com > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
