When I use auto-complete on lists on InteliJ, it shows a single-right-arrow, with no documentation on what it means. It looks like →. In an example, it's called as:
val sampleList: List[String] = List("a", "b", "c");
sampleList.→()
I don't know what goes in the parenthesis, I can't use it like a spark map either, so doing s => s
shows an error. And on the Scala documentation online, the arrow operator isn't listed.
This is how it shows up on the auto-complete
What would be an example usage of this arrow operator?