4 ms·
Since you are using ¨, ⍵ is a scalar, so you don't need the ∘. Translated back to J ((;'Buzz';'Fizz';'FizzBuzz'"_){~2#.0=3 5|])"0>:i.100 The boxed list in
by jxy 10y ago
Since you are using ¨, ⍵ is a scalar, so you don't need the ∘.
Translated back to J
((;'Buzz';'Fizz';'FizzBuzz'"_){~2#.0=3 5|])"0>:i.100
The boxed list in J feels a bit cumbersome compared to mixed arrays in APL.
- Avshalom 10y agoFair enough. Like most APL I wrote it backwards until it worked.