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.9.2
Show newest version
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)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy