Skip to content

List examples use +: / ++:, slightly elaborated some explanations - #3294

Open
baletiballo wants to merge 1 commit into
scala:mainfrom
baletiballo:patch-3
Open

List examples use +: / ++:, slightly elaborated some explanations#3294
baletiballo wants to merge 1 commit into
scala:mainfrom
baletiballo:patch-3

Conversation

@baletiballo

Copy link
Copy Markdown
Contributor

The later sections all assume +: has been introduced for prepended, not ::.
Otherwise "How to remember the method names" makes no sense, and the sentence

"In general, except for the difference that ... (b) List has the :: method, the two types work the same"

in the Vector introduction claims that Vectors cannot be prepended.

The later sections all assume `+:` has been introduced for `prepended`, not `::`.
Otherwise "How to remember the method names" makes no sense, and the "Vector" introduction claims that Vectors cannot be prepended ("In general, except for the difference that ... (b) List has the `::` method, the two types work the same")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant