This website requires JavaScript.
Explore
Main Site
Help
Register
Sign In
mirrors
/
janet
Watch
1
Star
0
Fork
0
You've already forked janet
mirror of
https://github.com/janet-lang/janet
synced
2025-01-12 16:40:27 +00:00
Code
Issues
1
Releases
Wiki
Activity
08319e62cb
janet
/
temp.script
11 lines
106 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Breaking up functionality into more modules.
2017-02-23 22:21:13 +00:00
(do
(:= fib (fn (n)
(if (< n 2)
1
(+ (fib (- n 1)) (fib (- n 2))))))
(print 10)
(print (fib 33))
)
Reference in New Issue
Copy Permalink