io.scalaland.chimney.internal.compiletime.fp.ApplicativeTraverse.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimney-macro-commons_3 Show documentation
Show all versions of chimney-macro-commons_3 Show documentation
Utilities for writing cross-platform macro logic
package io.scalaland.chimney.internal.compiletime.fp
trait ApplicativeTraverse[F[_]] extends Traverse[F] with Applicative[F] {
override def map[A, B](fa: F[A])(f: A => B): F[B] =
traverse[Applicative.Id, A, B](fa)(f)(Applicative.IdentityApplicative)
}
object ApplicativeTraverse {
def apply[F[_]](implicit F: ApplicativeTraverse[F]): ApplicativeTraverse[F] = F
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy