AppliedTraversalConsOps

final case class AppliedTraversalConsOps[S, A, B](appliedTraversal: AppliedTraversal[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]): AppliedTraversal[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]): AppliedTraversal[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]): AppliedTraversal[S, A]

optionally selects the tail of a data structure

optionally selects the tail of a data structure

Inherited methods

Inherited from:
Product