Last active
October 12, 2021 00:22
-
-
Save shirok/fc4e5fd281f0fcc8f4b0257ff3cb29f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dotimes [n 101] | |
((lambda args | |
(newline) ; ~&, should be fresh-line | |
(let/cc break | |
(case (car args) ; ~[ | |
[(0)] ; ~; | |
[(1) (display (cadr args)) ; ~A | |
(if (zero? (caddr args)) (break))] ; ~v^, ~; | |
[(2)] ; ~; | |
[(3) (display "Fi")] ; Fi~; | |
[(4)] ; ~; | |
[(5) (display "Bu")] ; Bu~:; | |
[else (if (zero? (cadr args)) ; ~v^ | |
(break)) | |
(display "FizzBu")]) ; FizzBu ~] | |
(display "zz"))) ; zz | |
(gcd n 15) | |
n | |
0)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment