mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
11 lines
213 B
Plaintext
11 lines
213 B
Plaintext
|
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));
|