3 ms·
Author here, no, it doesn't support TCO and you'd have to resort to trampolining here too. In another post[1] I've talked about this and I agree it's definitely
by drtse4 10y ago
Author here, no, it doesn't support TCO and you'd have to resort to trampolining here too. In another post[1] I've talked about this and I agree it's definitely not an elegant workaround.
[1] https://www.uraimo.com/2016/05/05/recursive-tail-calls-and-trampolines-in-swift/ https://www.uraimo.com/2016/05/05/recursive-tail-calls-and-t...