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

tofu.syntax.embed.scala Maven / Gradle / Ivy

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

import cats.FlatMap
import tofu.higherKind.Embed

object embed {
  implicit final class TofuEmbedOps[F[_], T[_[_]]](private val underlying: F[T[F]]) extends AnyVal {
    def embed(implicit embed: Embed[T], F: FlatMap[F]): T[F] = embed.embed(underlying)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy