aboutsummaryrefslogtreecommitdiffstats
path: root/samples/sample1.code
blob: 5eb4cc39ae2666f8fd2ed84c6c72205ce2fea311 (plain)
1
2
3
4
5
6
7
8
# factorial = int.eq? n 1
#     1
#     int.multiply n (factorial (int.decrement n));

# factorial 10;

f a b = b a;
f 10 id;