ciris.api.Functor.scala Maven / Gradle / Ivy
package ciris.api
trait Functor[F[_]] {
def map[A, B](fa: F[A])(f: A => B): F[B]
}
object Functor {
def apply[F[_]](implicit f: Functor[F]): Functor[F] = f
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy