AppliedFoldNonEmptyConsOps

final case class AppliedFoldNonEmptyConsOps[S, H, T, A](appliedFold: AppliedFold[S, A]) extends AnyVal
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def head(implicit ev: NonEmptyCons[A, H, T]): AppliedFold[S, H]

selects the first element of a data structure S

selects the first element of a data structure S

def nonEmptyCons(implicit ev: NonEmptyCons[A, H, T]): AppliedFold[S, (H, T)]

splits the head and the tail of a data structure S

splits the head and the tail of a data structure S

def tail(implicit ev: NonEmptyCons[A, H, T]): AppliedFold[S, T]

selects the tail of a data structure S

selects the tail of a data structure S

Inherited methods

Inherited from:
Product