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

# factorial 10;

my-id n = n;
my-id 1;