All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tofu.higherKind.bi.BiPoint.scala Maven / Gradle / Ivy

There is a newer version: 0.13.6
Show newest version
package tofu.higherKind.bi

trait BiPoint[F[_, _]] {
  def apply[E, A]: F[E, A]

  def pure[U[f[_, _]]](implicit UP: PureBK[U]): U[F] = UP.pureB(this)
}

object BiPoint {
  val unit: BiPoint[UnitBK] = new BiPoint[UnitBK] {
    override def apply[E, A]: Unit = ()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy