shithub: mc

ref: ecf8ce9396333eecb45500ae306f73405285806d
dir: /test/fib.myr/

View raw version
const fib = {n
	if n == 0
		-> 0
	elif n == 1
		-> 1
	else
		-> fib(n - 1) + fib(n - 2)
	;;
}

const main = {
	-> fib(4)
}