scala / collection-strawman

Implementation of the new Scala 2.13 Collections
Apache License 2.0
200 stars 72 forks source link

Cover all the cases that have been removed from enrich-gentraversable.scala #535

Closed julienrf closed 6 years ago

julienrf commented 6 years ago

See https://github.com/scala/scala/pull/6488, which removes the test for array enrichment.

We should add to collections-contrib a test that covers these use cases.

Also, maybe we should move the enrichment machinery to the core instead of leaving it in collections-contrib?

lrytz commented 6 years ago

Maybe we should move the enrichment machinery to the core instead of leaving it in collections-contrib?

+1

I think it's important to ship 2.13 with clear instructions (and helpers) how to write extension methods of various levels of genericity.