3 ms·
I'm not familiar with J but it also appears to have something similar. However the resulting code seems a bit more convoluted than the K version. +/ (I. a>3) {
by miltondts 7y ago
I'm not familiar with J but it also appears to have something similar. However the resulting code seems a bit more convoluted than the K version.
+/ (I. a>3) { a
- TheRealDevonMcC 7y agoMore idiomatic J might look like this: +/a#~a>3 .