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

endless.core.entity.Self.scala Maven / Gradle / Ivy

There is a newer version: 0.31.0
Show newest version
package endless.core.entity

/** Self represent the entity itself via its algebra
  * @tparam F
  *   context
  * @tparam Alg
  *   entity algebra
  */
trait Self[F[_], Alg[_[_]]] {
  def self: Alg[F]
}

object Self {
  def apply[F[_], Alg[_[_]]](implicit self: Self[F, Alg]): Self[F, Alg] = self
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy