Clean up example
This commit is contained in:
parent
7206d60ac9
commit
da7d6a8493
@ -1,9 +1,9 @@
|
|||||||
fibonacci = function <number> {
|
fib = function <i> {
|
||||||
if number <= 1 {
|
if i <= 1 {
|
||||||
1
|
1
|
||||||
} else {
|
} else {
|
||||||
(fibonacci number - 1) + (fibonacci number - 2)
|
(fib i - 1) + (fib i - 2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
(fibonacci 5)
|
(fib 5)
|
||||||
|
Loading…
Reference in New Issue
Block a user