3 lines
102 B
Text
3 lines
102 B
Text
val .fibonacci = f if(.x < 2: .x ; self(.x - 1) + self(.x - 2))
|
|
|
|
writeln map .fibonacci, series 2..20
|