shithub: mc

ref: 5f6c72e00d6053baf98563bb53afeb770e648e9d
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)
}