Programming in Scala [Chapter 22]-Implementing Lists
Briefly

By delving into the internals of the List class, developers gain insights into the efficiency of list operations, enabling them to write faster and more concise code.
Lists in Scala are not inherent language constructs but are defined by an abstract class List with sub-classes :: and Nil as shown in the image below.
Read at Medium
[
]
[
|
]