Instantly share code, notes, and snippets.

@benzap /fizzbuzz.fif
Last active May 28, 2018

Embed
What would you like to do?
Fizzbuzz in fif langauge github.com/benzap/fif
fn fizz-buzz
*n <> setl
n 3 mod zero?
n 5 mod zero? and if "FizzBuzz" else
n 3 mod zero? if "Fizz" else
n 5 mod zero? if "Buzz" else
n
then then then
endfn
*fizz-buzz 1 101 range map println
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment