diff options
Diffstat (limited to 'benchmark/other-lang/fib.scm')
-rw-r--r-- | benchmark/other-lang/fib.scm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/benchmark/other-lang/fib.scm b/benchmark/other-lang/fib.scm index ea63503b11..2fc4e225bd 100644 --- a/benchmark/other-lang/fib.scm +++ b/benchmark/other-lang/fib.scm @@ -1,7 +1,7 @@ -(define (fib n)
- (if (< n 3)
- 1
- (+ (fib (- n 1)) (fib (- n 2)))))
-
-(fib 34)
-
+(define (fib n) + (if (< n 3) + 1 + (+ (fib (- n 1)) (fib (- n 2))))) + +(fib 34) + |