repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git]
/
sample
/
fib.scm
blob
b246ca50ac388effda4b3a1135894d4ae1e27cbc
1
(define (fib n)
2
(if (< n 2)
3
n
4
(+ (fib (- n 2)) (fib (- n 1)))))
5
6
(display (fib 20))
7
(newline)
8
(quit)