Index

monocle.function.Index$
See theIndex companion class
object Index extends IndexFunctions

Attributes

Companion:
class
Source:
Index.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Index.type

Members list

Concise view

Value members

Concrete methods

def apply[S, I, A](optional: I => Optional[S, A]): Index[S, I, A]

Attributes

Source:
Index.scala
def fromAt[S, I, A](implicit ev: At[S, I, Option[A]]): Index[S, I, A]

Attributes

Source:
Index.scala
def fromIso[S, A, I, B](iso: Iso[S, A])(implicit 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

Attributes

Source:
Index.scala

Inherited methods

def index[S, I, A](i: I)(implicit ev: Index[S, I, A]): Optional[S, A]

Attributes

Inherited from:
IndexFunctions
Source:
Index.scala

Implicits

Implicits

implicit def chainIndex[A]: Index[Chain[A], Int, A]

Attributes

Source:
Index.scala
implicit def lazyListIndex[A]: Index[LazyList[A], Int, A]

Attributes

Source:
Index.scala
implicit def listIndex[A]: Index[List[A], Int, A]

Attributes

Source:
Index.scala
implicit def listMapIndex[K, V]: Index[ListMap[K, V], K, V]

Attributes

Source:
Index.scala
implicit def mapIndex[K, V]: Index[Map[K, V], K, V]

Attributes

Source:
Index.scala
implicit def necIndex[A]: Index[Type[A], Int, A]

Attributes

Source:
Index.scala
implicit def nelIndex[A]: Index[NonEmptyList[A], Int, A]

Attributes

Source:
Index.scala
implicit def nevIndex[A]: Index[NonEmptyVector[A], Int, A]

Attributes

Source:
Index.scala
implicit def oneAndIndex[T[_], A](implicit ev: Index[T[A], Int, A]): Index[OneAnd[T, A], Int, A]

Attributes

Source:
Index.scala
implicit def seqIndex[A, S <: (SeqOps)]: Index[S[A], Int, A]

Attributes

Source:
Index.scala
implicit def sortedMapIndex[K, V]: Index[SortedMap[K, V], K, V]

Attributes

Source:
Index.scala
implicit val stringIndex: Index[String, Int, Char]

Attributes

Source:
Index.scala
implicit def vectorIndex[A]: Index[Vector[A], Int, A]

Attributes

Source:
Index.scala