Skip to content

Commit 707ed21

Browse files
committed
Comment it out, if it is outdated
1 parent 854b37d commit 707ed21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_overviews/scala3-book/why-scala-3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ For instance, a `List` is defined as a `class`, and a new instance is created li
4545
val x = List(1,2,3)
4646
```
4747

48-
However, what appears to the programmer to be a simple `List` is actually built from a combination of many specialized traits:
48+
However, what appears to the programmer to be a simple `List` is actually built from a combination of many specialized traits.
4949

5050
{% comment %}
5151
TODO: Update this. It shows the Scala 2.13 hierarchy with Scala 3 syntax.
52-
{% endcomment %}
5352

5453
```scala
5554
sealed abstract class List[+A]
@@ -63,6 +62,7 @@ sealed abstract class List[+A]
6362
```
6463

6564
Those traits are also composed of other smaller, modular traits.
65+
{% endcomment %}
6666

6767
In addition to building a class like `List` from a series of small, modular traits, the `List` API also consists of a series of dozens of functional methods, many of which are higher-order functions:
6868

0 commit comments

Comments
 (0)