Skip to content

Improve documentation for deprecated methods that only make sense for parallel collections #12900

Closed
scala/scala
#10605
@SethTisue

Description

@SethTisue

at scala/toolkit#31 (comment) @philipschwarz noted:

Maybe instead of just saying that the aggregate function
is not relevant for sequential collections. Use `foldLeft(z)(seqop) instead., "2.13.0
the [Scala Doc for aggregate]> (https://github.com/scala/scala/blob/v2.13.10/src/library/scala/collection/IterableOnce.scala#L1122) could also say that aggregate is relevant for parallel collections and it could provide a link to https://github.com/scala/scala-parallel-collections.

perhaps the method should also be deprecated? and perhaps there are other such methods? @scala/collections

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions