AppliedAffineTraversalConsOps

final case class AppliedAffineTraversalConsOps[S, A, B](appliedAffineTraversal: AppliedAffineTraversal[S, A]) extends AnyVal
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def cons(implicit ev: Cons[A, B]): AppliedAffineTraversal[S, (B, A)]

optionally splits the head and the tail of a data structure

optionally splits the head and the tail of a data structure

def headOption(implicit ev: Cons[A, B]): AppliedAffineTraversal[S, B]

optionally selects the first element of a data structure

optionally selects the first element of a data structure

def tailOption(implicit ev: Cons[A, B]): AppliedAffineTraversal[S, A]

optionally selects the tail of a data structure

optionally selects the tail of a data structure

Inherited methods

Inherited from:
Product