TIL Option[_] isn't a higher-kinded type. It's just a type constructor. Higher-kinded types are types that abstract over type constructors (so X[F[_]]). As known as 1st order & higher-order abstraction. But best refer to the latter as "type constructor polymorphism".
-
-
`Option[
]` -
Scala 4. Write a SIP.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.