Core concept

// Scala 2
val xs: List[T] forSome { type T } = ???
// Scala 3
val xs: List[?] = ???
Advertisement

How it works

Scala 3 simpler.

Advertisement

Trade-offs + gotchas

Rare in application code.