Index

object Index extends IndexFunctions
Companion
class
Source
Index.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S, I, A](optional: I => Optional[S, A]): Index[S, I, A]
def fromAt[S, I, A](ev: At[S, I, Option[A]]): Index[S, I, A]
def fromIso[S, A, I, B](iso: Iso[S, A])(ev: Index[A, I, B]): Index[S, I, B]

lift an instance of Index using an Iso

lift an instance of Index using an Iso

Source
Index.scala

Inherited methods

def index[S, I, A](i: I)(ev: Index[S, I, A]): Optional[S, A]
Inherited from
IndexFunctions
Source
Index.scala

Implicits

Implicits

implicit def chainIndex[A]: Index[Chain[A], Int, A]
implicit def lazyListIndex[A]: Index[LazyList[A], Int, A]
implicit def listIndex[A]: Index[List[A], Int, A]
implicit def listMapIndex[K, V]: Index[ListMap[K, V], K, V]
implicit def mapIndex[K, V]: Index[Map[K, V], K, V]
implicit def necIndex[A]: Index[Type[A], Int, A]
implicit def nelIndex[A]: Index[NonEmptyList[A], Int, A]
implicit def nevIndex[A]: Index[NonEmptyVector[A], Int, A]
implicit def oneAndIndex[T[_], A](ev: Index[T[A], Int, A]): Index[OneAnd[T, A], Int, A]
implicit def sortedMapIndex[K, V]: Index[SortedMap[K, V], K, V]
implicit val stringIndex: Index[String, Int, Char]
implicit def vectorIndex[A]: Index[Vector[A], Int, A]