aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-01-02 19:39:59 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-01-02 19:39:59 +0300
commitcff0c84f6b14f37497ff22c54948380af64e8106 (patch)
tree2acf23d98b0f9681d5f42346230538aa684a527b /examples
parent0c32a26c9a43b2d45968b9ac59b8916c1d4092d1 (diff)
downloadcsx-cff0c84f6b14f37497ff22c54948380af64e8106.tar
csx-cff0c84f6b14f37497ff22c54948380af64e8106.tar.xz
csx-cff0c84f6b14f37497ff22c54948380af64e8106.zip
It's alive.
Diffstat (limited to 'examples')
-rw-r--r--examples/fib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fib.c b/examples/fib.c
index 0c94673..fc03fbb 100644
--- a/examples/fib.c
+++ b/examples/fib.c
@@ -21,7 +21,7 @@ void process()
char *fib = csx_name("fib");
char *num = csx_name("num");
csx_eval(l(define, fib, l(fn, l(num, 0),
- l(csx_if, l(inc, num, n(2), 0), n(1),
+ l(csx_if, l(inc, num, n(3), 0), n(1),
l(sum,
l(fib, l(diff, num, n(1), 0), 0),
l(fib, l(diff, num, n(2), 0), 0),