higherkindness.droste.implicits.composedTraverse.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of droste-core_sjs1_2.13 Show documentation
Show all versions of droste-core_sjs1_2.13 Show documentation
recursion schemes for cats; to iterate is human, to recurse, divine
The newest version!
package higherkindness.droste
package implicits
import cats.Traverse
import syntax.compose._
object composedTraverse {
implicit def drosteComposedTraverse[F[_], G[_]](implicit
F: Traverse[F],
G: Traverse[G]
): Traverse[(F ∘ G)#λ] = F compose G
}