1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/fizz.hlm

11 lines
213 B
Plaintext
Raw Normal View History

2023-06-16 00:13:02 -05:00
let fizz = fun (n) -> if n % 3 == 0 && n % 5 == 0
then "FizzBuzz"
else if n % 3 == 0
then "Fizz"
else if n % 5 == 0
then "Buzz"
else ""
;
let println = fun (a) -> ();
println(fizz(5));