8000 Fix why-scala-3.md by ShapelessCat · Pull Request #2078 · scala/docs.scala-lang · GitHub
[go: up one dir, main page]

Skip to content

Fix why-scala-3.md #2078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _overviews/scala3-book/why-scala-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ For instance, a `List` is defined as a class---technically it’s an abstract cl
val x = List(1, 2, 3)
```

However, what appears to the programmer to be a simple `List` is actually built from a combination of several specialized types, including an abstract class named `AbstractSeq`, traits like `LinearSeq` and `LinearSeq`, and more.
However, what appears to the programmer to be a simple `List` is actually built from a combination of several specialized types, including an abstract class named `AbstractSeq`, traits like `LinearSeq` and `LinearSeqOps`, and more.
Those types are similarly composed of other small, modular units of code.

In addition to building a type like `List` from a series of modular traits, the `List` API also consists of dozens of other methods, many of which are higher-order functions:
Expand Down
0