Closed
Description
scala/scala#7458 integrates converters from java8-compat into the standard libarary.
Done in the PR
- Check if function wrappers should be serializable (part of https://github.com/scala/scala/pull/7458/commits)
- Ensure converting a function back and forth gives the original function, instead of wrapping twice (part of https://github.com/scala/scala/pull/7458/commits)
- Improve Scaladocs in many places, especially Steppers, Accumulators. Give an overview somewhere how to efficiently use Java 8 streams, what are recommended patterns, how to avoid boxing. (Scaladocs for new jdk converters, move Accumulators to jdk package scala#7939)
A few tasks have been postponed past that PR
- fix some bugs in steppers (@Ichoran) (part of https://github.com/scala/scala/pull/7970/commits)
- Integrate missing tests from java8-compat (for StreamConverters, Accumulators, Steppers, maybe more) (Small fixes and more tests for jdk Converters scala#7970)
- make java8-compat a shim release for 2.13 that helps cross-building a codebase with 2.12 / 2.13 (Adapt to 2.13.0-RC1 scala-java8-compat#139)
- Integrate benchmarks from java8-compat. Compare performance with java8-compat for 2.12.
- Integrate tests that ensure no boxing occurs (https://gist.github.com/lrytz/900dcc6aba5479ae615098bb0d74b1ee). This is useful more generally, provide some infrastructure.
- Check if we should bring back functionality that was dropped from java8-compat, most likely as extension methods:
- higher-order operations on steppers (that avoid boxing)
- methods
to(Factory)
andtoArray
on steppers
Metadata
Metadata
Assignees
Labels
No labels