Fix rec_fibo's syntax — now works perfectly
This commit is contained in:
parent
a67b0ee1c3
commit
2319414786
1 changed files with 9 additions and 9 deletions
|
@ -14,12 +14,12 @@ let fibo = fun n ->
|
|||
fibo_inner 2 1 1
|
||||
in
|
||||
|
||||
let x = print fibo 0 in
|
||||
let x = print fibo 1 in
|
||||
let x = print fibo 2 in
|
||||
let x = print fibo 3 in
|
||||
let x = print fibo 4 in
|
||||
let x = print fibo 5 in
|
||||
let x = print fibo 6 in
|
||||
let x = print fibo 7 in
|
||||
print fibo 8
|
||||
let x = print (fibo 0) in
|
||||
let x = print (fibo 1) in
|
||||
let x = print (fibo 2) in
|
||||
let x = print (fibo 3) in
|
||||
let x = print (fibo 4) in
|
||||
let x = print (fibo 5) in
|
||||
let x = print (fibo 6) in
|
||||
let x = print (fibo 7) in
|
||||
print (fibo 8)
|
||||
|
|
Loading…
Reference in a new issue