mapIndexed

open fun <B> mapIndexed(transform: (index: Int, A) -> B): NonEmptyList<B>(source)