File: fibo.mlr

package info (click to toggle)
miller 6.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 88,244 kB
  • sloc: ruby: 162; sh: 120; makefile: 87; python: 46
file content (7 lines) | stat: -rw-r--r-- 103 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
func fibo(int n): int {
  if (n <= 1) {
    return n
  } else {
    return fibo(n-1) + fibo(n-2)
  }
}