diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2021-11-23 23:27:01 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2021-11-25 09:53:44 +0200 |
| commit | c1f50fea93ad308f215e2d2878d773b55a370edb (patch) | |
| tree | 317c22415a3e3a6b8526b6d58835134cffeecb17 /samples | |
| parent | 044af4cb2dcc4e7683ceff0ecbd18d4023647eda (diff) | |
Builtins of one parameter working
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/sample1.code | 10 |
1 files changed, 2 insertions, 8 deletions
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 |
