shithub: mc

ref: 47d7e2b1035c7061eae7b46e174ebc7522729cb3
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(8)
}