Is the following a bug in J, or am I missing something? 'ab' ,&(1$~#) 'abcd' works but 'ab' ,&(1"0) 'abcd' gives a length error, even though they should be the same. ATO
'ab' ,&:(1"0) 'abcd' works fwiw, but I don't understand why the parens don't stop the "0 from propagating...
@RubenVerg I was under the same impression, too. Kamila did the (initial?) implementation AFAIU and mentioned in her talk at the User Meeting this year that it might not be in 19.
Oh, well functions (statements, actually) aren't parsed until runtime. It is perfectly allowed to have syntax error in code. Sometimes people even put them in intentionally to halt execution.