FunctorWithIndex

@implicitNotFound("Could not find an instance of FunctorWithIndex[${F}, ${I}]")
trait FunctorWithIndex[F[_], I] extends Serializable
Companion:
object
class Object
trait Matchable
class Any
trait TraverseWithIndex[F, I]

Value members

Abstract methods

def mapWithIndex[A, B](f: (A, I) => B)(fa: F[A]): F[B]

Concrete methods

def map[A, B](fa: F[A])(f: A => B): F[B]