IsoSyntax

final case class IsoSyntax[S, A](self: Iso[S, A]) extends AnyVal

Extension methods for monomorphic Iso

Extension methods for monomorphic Iso

Source
Iso.scala
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def at[I, A1](i: I)(evAt: At[A, I, A1]): Lens[S, A1]
Source
Iso.scala
def each[C](evEach: Each[A, C]): Traversal[S, C]
Source
Iso.scala
def filter(predicate: A => Boolean): Optional[S, A]

Select all the elements which satisfies the predicate. This combinator can break the fusion property see Optional.filter for more details.

Select all the elements which satisfies the predicate. This combinator can break the fusion property see Optional.filter for more details.

Source
Iso.scala
def filterIndex[I, A1](predicate: I => Boolean)(ev: FilterIndex[A, I, A1]): Traversal[S, A1]
Source
Iso.scala
def index[I, A1](i: I)(evIndex: Index[A, I, A1]): Optional[S, A1]
Source
Iso.scala
def withDefault[A1](defaultValue: A1)(evOpt: A =:= Option[A1]): Iso[S, A1]
Source
Iso.scala

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product