<@U0GD809DX>: it's possible with inheritance, you ...
# announcements
u
@jshmrsn: it's possible with inheritance, you can just inherit from a function type:
Copy code
class Some : (String) -> Unit {
    override fun invoke(s: String) = println(s)
}