AppliedOptionalSyntax

final case class AppliedOptionalSyntax[S, A](self: AppliedOptional[S, A]) extends AnyVal

Extension methods for monomorphic Optional

Extension methods for monomorphic Optional

Source
AppliedPOptional.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]): AppliedOptional[S, A1]
def filter(predicate: A => Boolean): AppliedOptional[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
AppliedPOptional.scala
def index[I, A1](i: I)(evIndex: Index[A, I, A1]): AppliedOptional[S, A1]
def withDefault[A1](defaultValue: A1)(evOpt: A =:= Option[A1]): AppliedOptional[S, A1]

Inherited methods

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