Skip to content

Instantly share code, notes, and snippets.

@shirok
Last active October 12, 2021 00:22
Show Gist options
  • Save shirok/fc4e5fd281f0fcc8f4b0257ff3cb29f3 to your computer and use it in GitHub Desktop.
Save shirok/fc4e5fd281f0fcc8f4b0257ff3cb29f3 to your computer and use it in GitHub Desktop.
(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