You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-7
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,12 @@ All future versions will remain backwards binary compatible with 2.0.0. (The 1.0
22
22
23
23
## How it works
24
24
25
+
The 2.13 and 3.0 versions consist only of an empty `scala.collection.compat` package object, so `import scala.collection.compat._` won't cause an error in cross-compiled code.
26
+
27
+
The 2.11 and 2.12 versions have the needed compatibility code in this package.
28
+
29
+
### Changed methods
30
+
25
31
The 2.13 collections redesign did not break source compatibility for most ordinary code, but there are some exceptions.
26
32
27
33
For example, the `to` method is used with a type parameter in 2.12:
The 2.13 and 3.0 versions consist only of an empty `scala.collection.compat` package object, so `import scala.collection.compat._` won't cause an error in cross-compiled code.
41
-
42
-
The 2.11 and 2.12 versions have the needed compatibility code in this package.
46
+
### New collections
43
47
44
48
The library also adds backported versions of new collection types, such as `immutable.ArraySeq` and `immutable.LazyList`. (On 2.13, these types are just aliases to standard library types.)
45
49
46
-
And it adds backported versions of some 2.13 collections methods such as `maxOption`.
50
+
### New collection methods
51
+
52
+
Support is included for some 2.13 collections methods such as `maxOption`.
53
+
54
+
### Other new classes
55
+
56
+
Support is included for some non-collections classes, such as:
57
+
58
+
*`@nowarn` annotation, added in 2.13.2 and 2.12.13. (The 2.11 `@nowarn` doesn't do anything, but its presence facilitates cross-compilation.)
59
+
60
+
### Other new methods
61
+
62
+
Support is included for some other methods, such as:
47
63
48
-
And, it includes support for some non-collections classes such as the `@nowarn` annotation added in 2.13.2.
0 commit comments