-
Notifications
You must be signed in to change notification settings - Fork 1k
Update the collection guide for 2.13 #1227
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
Conversation
06eb802
to
22e302c
Compare
Could you review, please, @szeiger? |
(we need to finish 2.13.0-RC1 first, then we'll give higher priority to doc work) |
note to self, I should go ahead and give this a light round of review and then merge it. if it needs more work we can always improve it further later |
@julienrf would you mind fixing this up before merge?
|
These links are computed by using the |
hardcoding would be fine. if you're feeling a little more ambitious, you could add a I'll submit a separate PR bumping |
Its content is copied from the current “Collections” guide.
- Remove documentation of deprecated or removed collections (Traversable, immutable.Stack, LinkedList, DoubleLinkedList, synchronized sets and maps), operations (toStream, copyToBuffer, hasDefiniteSize, addition and removal operations on root collections, union, reverseMap, prefixLength) and generic package - Update documentation of collections that have been replaced by other collections (Stream, WrappedArray, HashMap, HashSet, ArrayStack, View), or renamed operations (retain, transform) - Add documentation for new collections (immutable.ArraySeq, VectorMap, ArrayDeque) and new operations (unfold, toLazyList, knownSize, distinct, distinctBy, groupMap, groupMapReduce, xxxInPlace, sizeCompare, sizeIs, minOption, maxOption) - Harmonize code style - don’t use infix syntax with operations taking more than one param - show alphabetic name of operations before showing their symbolic alias - Remove “Migrating from 2.7” page
2422d0e
to
151c0a0
Compare
I felt ambitious. |
151c0a0
to
ff77e62
Compare
Fixes #995
I’ve split the PR into two commits for easier review. The first commit duplicates the current collection guide into a “Scala 2.13” guide, without changing its contents. The second commit applies the necessary changes. As a result, you can review just the second commit to see the differences with the current collections guide.
Here are some screenshots of the layout and diagrams.