Skip to content

Conversation

isomarcte
Copy link
Member

As parFoldMapA, but for NonEmptyParallel, Reducible, and Semigroup.

As `parFoldMapA`, but for `NonEmptyParallel`, `Reducible`, and `Semigroup`.
@isomarcte
Copy link
Member Author

isomarcte commented Oct 26, 2021

A couple notes here.

  • I placed parReduceMapA in the companion object for Parallel because that is what the idiom seemed to be, though I'm uncertain why it wouldn't be in the companion object for NonEmptyParallel.
  • I named the syntax and ops classes ParallelReduceMapA{Ops,Syntax}, but it seems like NonEmptyParallelReduceMapA{Ops,Syntax} would make more sense. However I didn't see any other classes following that pattern, so again I attempted to follow the current idioms.

If either of these assumptions were wrong, I'm certainly happy to make any changes requested.

@johnynek johnynek merged commit 8787d59 into typelevel:main Oct 29, 2021
@isomarcte isomarcte deleted the parReduceMapA branch October 29, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants