This website requires JavaScript.
Explore
Help
Sign In
s416496
/
musique
Watch
1
Star
0
Fork
0
You've already forked musique
Code
Issues
3
Pull Requests
1
Projects
Releases
Wiki
Activity
cf83432b15
musique
/
examples
/
fib.mq
6 lines
58 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Removed `[]` block notation in favour of unification with `()`
2022-10-25 16:10:34 +02:00
fib := (n |
if (n <= 1)
Added macros; if is now macro and not a function
2022-10-26 16:50:40 +02:00
n
(fib (n-1) + fib (n-2))
moved from ';' to ',' as expression separator
2022-10-27 22:32:20 +02:00
),
Reference in New Issue
Copy Permalink