Skip to content

Commit 1d82711

Browse files
gagandeepkalratravisbrown
authored andcommitted
updated order of implicit arguments for separateFoldable to match with Ops class from the main branch
1 parent b9c5a24 commit 1d82711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/cats/syntax/alternative.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ final class SeparateOps[F[_], G[_, _], A, B](private val fgab: F[G[A, B]]) exten
6565
* res0: (List[String], List[Int]) = (List(error),List(1))
6666
* }}}
6767
*/
68-
def separateFoldable(implicit G: Bifoldable[G], A: Alternative[F], FF: Foldable[F]): (F[A], F[B]) =
68+
def separateFoldable(implicit FF: Foldable[F], A: Alternative[F], G: Bifoldable[G]): (F[A], F[B]) =
6969
FF.foldLeft(fgab, (A.empty[A], A.empty[B])) {
7070
case (mamb, gab) =>
7171
G.bifoldLeft(gab, mamb)(

0 commit comments

Comments
 (0)