n => f => x => f(n(f)(x));
let toInt = c => c((x) => x + 1)(0);
let toChurch = n => n === 0 ? zero : nextChurch(toChurch(n - 1));
ew recursion
Other than next pretty much the same?
Обсуждают сегодня