We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
identity[Int]
Any
val l = List(identity[Int]) val l2: List[Int => Int] = l
Error:
Found: (l : List[Any]) Required: List[Int => Int]
It should compile