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
converting a mutable collection (to(collection.mutable.X), to(collection.X), toArray) always creates a copy, even if the original collection has a conforming type. converting an immutable collection doesn't copy if the collection's type conforms to the result.
Made a PR about changes to the documentation.
The next step is to add tests, but I'd like some advice on which tests to add, or create a new test file.
Activity
magnolia-k commentedon Feb 16, 2020
Made a PR about changes to the documentation.
The next step is to add tests, but I'd like some advice on which tests to add, or create a new test file.
SethTisue commentedon Feb 18, 2020
@Ichoran would scala/scala-collection-laws be a better place than scala/scala for a test like this, cutting across many collection types?
Added note about copying elements during conversion (#1643)
SethTisue commentedon May 6, 2020
the doc PR (scala/docs.scala-lang#1643) is now merged
SethTisue commentedon May 6, 2020
ping @Ichoran about whether this is appropriate for scala-collection-laws?