We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add to cats.syntax.ListOps[A]:
cats.syntax.ListOps[A]
def groupByNelA[F[_] : Applicative, B](f: A => F[B])(implicit B: Order[B]): F[SortedMap[B, NonEmptyList[A]]]
An optimised version of:
as.traverse(a => f(a).tupleLeft(a)).map(_.groupByNel(_._2).mapValues(_.map(_._1)))
The text was updated successfully, but these errors were encountered:
@ronanM are you perhaps planning to implement this one? I can do it in case it's free to take :)
Sorry, something went wrong.
It's free. ;-)
i'll try to implement that then :)
Successfully merging a pull request may close this issue.
Add to
cats.syntax.ListOps[A]
:An optimised version of:
The text was updated successfully, but these errors were encountered: