in reply to Golf Challenge: FizzBuzz
Or the slightly simplistic version that uses a precomputed LCM of 15:
update: typo corrected - thx liverpoleprint map $_%15?($_%5?($_%3?"$_\n":"fizz\n"):"buzz\n"):"fizzbuzz\n",(1 +..100);
-M
Free your mind
In Section
Meditations