Open
Description
Hi,
Scala parallel collections docs and MOOC mention a .remaining
method on Splitter
and a .splitter
method on collections returning a Splitter
:
In practice, .remaining
is actually defined on IterableSplitter
:
And the .splitter
method is package-private:
Why is that?
Is there a way to obtain an IterableSplitter
from a collection using the public API?
In particular, a slide of the MOOC suggests this implementation of .fold
on a Splitter
:
How could I use it in practice, say on a ParVector
?
Metadata
Metadata
Assignees
Labels
No labels