ParentFull threadmaybe_pablo·Kotlin has this, check out https://kotlinlang.org/docs/returns.htmlView on HN