logoalt Hacker News

throw838489448yesterday at 4:00 PM1 replyview on HN

Some languages have TCO annotation, it throws compiler error if TCO fails. You want stronger type system, not smart compiler guarantees or promises!


Replies

mort96yesterday at 5:22 PM

That's not a type system thing... Whether a call gets TCO'd isn't represented in the type system if it's just an annotation on a return statement.