syntax.DotSyntax.scala Maven / Gradle / Ivy
The newest version!
package jjm.syntax
import jjm.Dot
import jjm.DotKleisli
trait DotSyntax {
implicit class RichDot[A <: Dot](val a: A) {
def run[F[_]](implicit dk: DotKleisli[F, A]): F[a.Out] = dk(a)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy