Join Slack
Communities
Powered by
In other functional languages I can ignore part of...
# announcements
n
naveen
07/17/2016, 3:23 PM
In other functional languages I can ignore part of the tuple while destructing . Here is my code.
Copy code
val (cost , _) = timed { costs() }
. The timed function returns a
Pair<T,Long>
. How do I ignore
Long
in the result?
Open in Slack
Previous
Next