From c1f50fea93ad308f215e2d2878d773b55a370edb Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 23 Nov 2021 23:27:01 +0200 Subject: Builtins of one parameter working --- samples/sample1.code | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'samples') diff --git a/samples/sample1.code b/samples/sample1.code index 5eb4cc3..22412a7 100644 --- a/samples/sample1.code +++ b/samples/sample1.code @@ -1,8 +1,2 @@ -# factorial = int.eq? n 1 -# 1 -# int.multiply n (factorial (int.decrement n)); - -# factorial 10; - -f a b = b a; -f 10 id; +int.increment 1; +int.increment 10; \ No newline at end of file -- cgit v1.3