@implicitNotFound("Could not find an instance of Index[${S},${I},${A}], please check Monocle instance location policy to ".+("find out which import is necessary")) abstract class Index[S, -I, A] extends Serializable
Typeclass that defines an Optional from an S
to an A
at an index I
Index is less powerful than At as it cannot create or delete value
Typeclass that defines an Optional from an S
to an A
at an index I
Index is less powerful than At as it cannot create or delete value
- Type Params
- Companion
- object
- Source
- Index.scala
trait Serializable
class Object
trait Matchable
class Any