Packages

object NonEmptyList extends LowPriorityNonEmptyListImplicits

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptyList
  2. LowPriorityNonEmptyListImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Cons[+A](head: A, tail: NonEmptyList[A]) extends NonEmptyList[A] with Product with Serializable
  2. final case class Single[+A](head: A) extends NonEmptyList[A] with Product with Serializable

Value Members

  1. implicit def NonEmptyListAssociative[A]: Associative[NonEmptyList[A]]

    The Associative instance for NonEmptyList.

  2. implicit val NonEmptyListAssociativeEither: AssociativeEither[NonEmptyList]

    The AssociativeEither instance for NonEmptyList.

  3. implicit val NonEmptyListCommutativeBoth: CommutativeBoth[NonEmptyList]

    The CommutativeBoth instance for NonEmptyList.

    The CommutativeBoth instance for NonEmptyList.

    Definition Classes
    LowPriorityNonEmptyListImplicits
  4. implicit val NonEmptyListCovariant: Covariant[NonEmptyList]

    The Covariant instance for NonEmptyList.

  5. implicit def NonEmptyListDebug[A](implicit arg0: Debug[A]): Debug[NonEmptyList[A]]

    Derives a Debug[NonEmptyList[A]] given a Debug[A].

  6. implicit val NonEmptyListDeriveEqual: DeriveEqual[NonEmptyList]

    The DeriveEqual instance for NonEmptyList.

  7. implicit def NonEmptyListEqual[A](implicit arg0: Equal[A]): Equal[NonEmptyList[A]]

    Derives an Equal[NonEmptyList[A]] given an Equal[A].

  8. implicit def NonEmptyListHash[A](implicit arg0: Hash[A]): Hash[NonEmptyList[A]]

    Derives a Hash[NonEmptyList[A]] given a Hash[A].

  9. implicit val NonEmptyListIdentityBoth: IdentityBoth[NonEmptyList]

    The IdentityBoth (and thus AssociativeBoth) instance for NonEmptyList.

  10. implicit val NonEmptyListIdentityFlatten: IdentityFlatten[NonEmptyList]

    The IdentityFlatten instance for NonEmptyList.

  11. implicit val NonEmptyListNonEmptyForEach: NonEmptyForEach[NonEmptyList]

    The NonEmptyForEach instance for NonEmptyList.

  12. implicit def NonEmptyListOrd[A](implicit arg0: Ord[A]): Ord[NonEmptyList[A]]

    Derives an Ord[NonEmptyList[A]] given an Ord[A].

    Derives an Ord[NonEmptyList[A]] given an Ord[A].

    Definition Classes
    LowPriorityNonEmptyListImplicits
  13. implicit def NonEmptyListPartialOrd[A](implicit arg0: PartialOrd[A]): PartialOrd[NonEmptyList[A]]

    Derives a PartialOrd[NonEmptyList[A]] given a PartialOrd[A].

    Derives a PartialOrd[NonEmptyList[A]] given a PartialOrd[A].

    Definition Classes
    LowPriorityNonEmptyListImplicits
  14. def apply[A](head: A, tail: A*): NonEmptyList[A]

    Constructs a NonEmptyList from one or more values.

  15. def cons[A](head: A, tail: NonEmptyList[A]): NonEmptyList[A]

    Constructs a NonEmptyList with the specified head and tail.

  16. def fromCons[A](cons: ::[A]): NonEmptyList[A]

    Constructs a NonEmptyList from the :: case of a List.

  17. def fromIterable[A](head: A, tail: Iterable[A]): NonEmptyList[A]

    Constructs a NonEmptyList from an element and Iterable.

  18. def fromIterableOption[A](iterable: Iterable[A]): Option[NonEmptyList[A]]

    Constructs a NonEmptyList from an Iterable or None otherwise.

  19. def fromNonEmptyChunk[A](nonEmptyChunk: NonEmptyChunk[A]): NonEmptyList[A]

    Constructs a NonEmptyList from a NonEmptyChunk.

  20. def iterate[A](start: A)(iterate: (A) => Option[A]): NonEmptyList[A]

    Constructs a NonEmptyList from an initial state start by repeatedly applying iterate as long as it returns Some.

  21. def single[A](head: A): NonEmptyList[A]

    Constructs a NonEmptyList with the specified single value.

  22. implicit def toCons[A](nonEmptyList: NonEmptyList[A]): ::[A]

    Provides an implicit conversion from NonEmptyList to the :: case of List for interoperability with Scala's collection library.

  23. def unfold[S, A](start: S)(project: (S) => A)(iterate: (S) => Option[S]): NonEmptyList[A]

    Constructs a NonEmptyList from an initial state start by repeatedly applying iterate as long as it returns Some, using the function project to map each S value to an A value.