shithub: mc

ref: 121f68645db7dd9e18ce34f502f70002b63c3a52
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)
}