Object/Trait

zio.prelude

NonEmptyList

Related Docs: trait NonEmptyList | package prelude

Permalink

object NonEmptyList extends LowPriorityNonEmptyListImplicits

Linear Supertypes
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. All

Type Members

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

    Permalink
  2. final case class Single[+A](head: A) extends NonEmptyList[A] with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def NonEmptyListAssociative[A]: Associative[NonEmptyList[A]]

    Permalink

    The Associative instance for NonEmptyList.

  5. implicit val NonEmptyListAssociativeEither: AssociativeEither[NonEmptyList]

    Permalink

    The AssociativeEither instance for NonEmptyList.

  6. implicit val NonEmptyListCommutativeBoth: CommutativeBoth[NonEmptyList]

    Permalink

    The CommutativeBoth instance for NonEmptyList.

    The CommutativeBoth instance for NonEmptyList.

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

    Permalink

    The Covariant instance for NonEmptyList.

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

    Permalink

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

  9. implicit val NonEmptyListDeriveEqual: DeriveEqual[NonEmptyList]

    Permalink

    The DeriveEqual instance for NonEmptyList.

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

    Permalink

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

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

    Permalink

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

  12. implicit val NonEmptyListIdentityBoth: IdentityBoth[NonEmptyList]

    Permalink

    The IdentityBoth (and thus AssociativeBoth) instance for NonEmptyList.

  13. implicit val NonEmptyListIdentityFlatten: IdentityFlatten[NonEmptyList]

    Permalink

    The IdentityFlatten instance for NonEmptyList.

  14. implicit val NonEmptyListNonEmptyForEach: NonEmptyForEach[NonEmptyList]

    Permalink

    The NonEmptyForEach instance for NonEmptyList.

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

    Constructs a NonEmptyList from one or more values.

  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def cons[A](head: A, tail: NonEmptyList[A]): NonEmptyList[A]

    Permalink

    Constructs a NonEmptyList with the specified head and tail.

  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def fromCons[A](cons: ::[A]): NonEmptyList[A]

    Permalink

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

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

    Permalink

    Constructs a NonEmptyList from an element and Iterable.

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

    Permalink

    Constructs a NonEmptyList from an Iterable or None otherwise.

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

    Permalink

    Constructs a NonEmptyList from a NonEmptyChunk.

  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def iterate[A](start: A)(iterate: (A) ⇒ Option[A]): NonEmptyList[A]

    Permalink

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

  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def single[A](head: A): NonEmptyList[A]

    Permalink

    Constructs a NonEmptyList with the specified single value.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. implicit def toCons[A](nonEmptyList: NonEmptyList[A]): ::[A]

    Permalink

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

  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def unfold[S, A](start: S)(project: (S) ⇒ A)(iterate: (S) ⇒ Option[S]): NonEmptyList[A]

    Permalink

    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.

  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped