Is there a way to create a function literal captur...
# announcements
d
Is there a way to create a function literal capturing a value ? e.g. with
anArray.sortedBy { obj.getValue().compare(it) }
to have
obj.getValue()
called only once when the call to
sortedBy
is executed
?