tofu.syntax.embed.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tofu-core_2.13 Show documentation
Show all versions of tofu-core_2.13 Show documentation
Opinionated Set of tool for functional programming in scala
package tofu.syntax
import cats.FlatMap
import tofu.higherKind.Embed
import tofu.higherKind.Embed
object embed {
final implicit class FPutilsEmbedOps[F[_], T[_[_]]](private val underlying: F[T[F]]) extends AnyVal {
def embed(implicit embed: Embed[T], F: FlatMap[F]): T[F] = embed.embed(underlying)
}
}