mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
12 lines
195 B
Plaintext
12 lines
195 B
Plaintext
let addi = fn x y = x + y;
|
|
|
|
let factorial = fn x =
|
|
if x == 1
|
|
then x
|
|
else x * factorial(x - 1);
|
|
|
|
let result = factorial(addi(2, 3));
|
|
|
|
let println = fn x = ();
|
|
println(result);
|