What does the "It" symbol mean in Scala
I saw some code examples using the “That” character with Generics. those.
def map[B, That](f : (A) => B) : That But due to Google’s lack of ability to use this word, I can’t find any documentation about what it does or how I use it.
Is it just a regular type placeholder or is it doing something special?
+6
3 answers