2 ms·
First I've heard of J! Say you want to compute the product of integers in a list. Should you encounter a zero, you can exit immediately since the product is kno
by ridiculous_fish 7y ago
First I've heard of J! Say you want to compute the product of integers in a list. Should you encounter a zero, you can exit immediately since the product is known. In C this would be an `if (arr[i] == 0) break`. How would one express this in J's loopless style?