summaryrefslogtreecommitdiff
path: root/sample/fib.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sample/fib.scm')
-rw-r--r--sample/fib.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/fib.scm b/sample/fib.scm
index b246ca5..d2dc770 100644
--- a/sample/fib.scm
+++ b/sample/fib.scm
@@ -1,7 +1,7 @@
(define (fib n)
(if (< n 2)
- n
- (+ (fib (- n 2)) (fib (- n 1)))))
+ n
+ (+ (fib (- n 2)) (fib (- n 1)))))
(display (fib 20))
(newline)