Right now this is documented both in the spec, section 4.3.1 and in the Scala 3 “Type Lambdas - More Details” page. It seems we’re missing a high-level doc page dedicated to higher-kinded types where this sort of things could also be mentioned, so I’m not sure there’s any good place to add such an example right now.
I cannot actually see it documented in either of the links you shared. I’m not implying your links are bad; I’m probably just not looking properly, but below I describe what I see.
The page from the first link says
Scala has several other advanced types that are not shown in this book, including:
…
Higher-kinded types
, which seems to imply it is not documented in the book. I also tried to follow the link at the bottom of that page, to the Scala 3 Reference (Is that the spec?), but I don’t see any section numbers on that page, and higher-kinded types are only mentioned once, without any actual documentation that I can see.
Concerning the second link, the part most closely resembling documentation I could find is
A partially applied type constructor such as List is assumed to be equivalent to its eta expansion. I.e, List = [X] =>> List[X].
, which seems to almost imply the opposite, namely that there should be no distinction between a higher-kinded type and its eta expansion.
Sorry if I’m being dense! In that case, feel free to ignore my message.