Index

object Index
Companion:
class
class Object
trait Matchable
class Any
Index.type

Value members

Concrete methods

def apply[S, I, A](implicit ev: Index[S, I, A]): Index[S, I, A]

summon an instance of Index

summon an instance of Index

def fromPartial[S, I, A](preview: I => PartialFunction[S, A])(set: I => S => A => S): Index[S, I, A]

create an Index, using an index to a partial function and a setter function

create an Index, using an index to a partial function and a setter function

def fromPreview[S, I, A](preview: I => S => Option[A])(set: I => S => A => S): Index[S, I, A]

create an Index, using an index to a preview function and a setter function

create an Index, using an index to a preview function and a setter function

final def index[S, I, A](viewOrModify: I => S => Either[S, A])(set: I => S => A => S): Index[S, I, A]

create an Index, using an index to a viewOrModify function and a setter function

create an Index, using an index to a viewOrModify function and a setter function