forEach & map | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/8458472-programming-in-kotlin-functions-custom-types/lessons/4

One thing I still don’t get it is in this foreach prices.forEach(::println), what does it mean the β€œ::”?