This website requires JavaScript.
Explore
Help
Sign In
prod2
/
nondescript
Watch
1
Star
1
Fork
You've already forked nondescript
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
master
nondescript
/
benchmarks
/
fib.nds
7 lines
80 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
rename funct to proc
2022-02-09 06:58:51 +01:00
var fib = proc(n)
update benchmarks to match new syntax
2022-02-09 07:01:52 +01:00
if (n < 2) 1
else fib(n-1) + fib(n-2)
function implementation prototype
2022-01-21 01:51:55 +01:00
;
readding inline to some stack.nim procs
2022-02-14 10:46:49 +01:00
print (fib(37));