I need my typechecker be total. And you don't need turing completeness for arithmetic and recursion.
Recursion limits make it total, very easily.
> And you don't need turing completeness for arithmetic and recursion.
Yes you do. If you allow basic arithmetic to recurse n times, it can simulate n iterations of a turing machine.
Recursion limits make it total, very easily.
> And you don't need turing completeness for arithmetic and recursion.
Yes you do. If you allow basic arithmetic to recurse n times, it can simulate n iterations of a turing machine.