tofu.higherKind.bi.extensions.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tofu-core-higher-kind_3 Show documentation
Show all versions of tofu-core-higher-kind_3 Show documentation
Opinionated set of tools for functional programming in Scala
package tofu.higherKind.bi
class MonoidBKOps[F[_, _], A, B](private val fab: F[A, B]) extends AnyVal {
def combinebk[F1[x, y] >: F[x, y]](other: F1[A, B])(implicit FSG: SemigroupBK[F1]): F1[A, B] =
FSG.combinebk(fab, other)
}