ParentFull threada57721·Scala and Kotlin have 'tailrec' annotation/modifier, though not as sophisticated as you describe.View on HN