Join Slack
Powered by
has anyone found a use for extending a lambda? i w...
# announcements
t
treelzebub
05/16/2017, 7:14 PM
has anyone found a use for extending a lambda? i was surprised to find that they are open classes.
Copy code
class MyLambda : () -> Unit { override invoke() { // uh... } }
m
miha-x64
05/17/2017, 7:31 AM
tre: lambda is a kind of expression. Naming a class with a word ‘lambda’ looks incorrect.
2
Views
Open in Slack
Previous
Next