musique/examples/fib.mq
Robert Bendun ddf9cc8f8c New declaration syntax x := foo instead of var x = foo
Additionaly moving into multiparameter binary operations
2022-09-18 14:50:20 +02:00

2 lines
59 B
Plaintext

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