开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

FizzBuzz


 

开云体育

I love the FizzBuzz problem. It’s so simple, the looping solutions are so easy, and everyone knows their way. Yet it’s a great showcase for how differently vector programmers think.?

I didn’t think there was any more juice to be squeezed out of FizzBuzz, but last night I added some alternative vector solutions and three exercises.?

The last one invites you to replace a ternary reduction f/[x;y;z] with a unary composition that takes x as its argument.


Smiles
Stephen
?