main shrub/kav / examples / fibonacci.kav
1fn fib(i: int) -> int {
2  if i <= 1 then 1 else fib(i-1) + fib(i-2)
3}
4
5fn main() -> int {
6  fib(6)
7}