musique/examples/fib.mq

2 lines
62 B
Plaintext
Raw Permalink Normal View History

var fib = [n | if (n <= 1) [ n ] [ fib (n-1) + fib (n-2) ] ];