These names can be used for documenting the meaning of the parameters.
s
Sam Stone
06/28/2023, 11:45 PM
Wouldn’t it be great if we could use the names for something?
e
ephemient
06/28/2023, 11:52 PM
names should appear in the IDE
s
Sam Stone
06/29/2023, 12:00 AM
I mean in code, like
val lambda: (value: V) = { println(value) }
a
asdf asdf
06/29/2023, 12:08 AM
you would have to explicitly declare the name again inside the lambda body ( -> value) i was hoping that IDE could autocomplete named parameters at some point