Packages

object NonEmptyList extends NonEmptyListInstances with Serializable

Source
NonEmptyList.scala
Linear Supertypes
Serializable, Serializable, NonEmptyListInstances, NonEmptyListInstances0, NonEmptyListInstances1, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptyList
  2. Serializable
  3. Serializable
  4. NonEmptyListInstances
  5. NonEmptyListInstances0
  6. NonEmptyListInstances1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class ZipNonEmptyList[A] extends AnyVal

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit def catsDataEqForNonEmptyList[A](implicit A: Eq[A]): Eq[NonEmptyList[A]]
    Definition Classes
    NonEmptyListInstances1
  6. implicit val catsDataInstancesForNonEmptyList: SemigroupK[NonEmptyList] with Bimonad[NonEmptyList] with NonEmptyTraverse[NonEmptyList] with Align[NonEmptyList]

    This is not a bug.

    This is not a bug. The declared type of catsDataInstancesForNonEmptyList intentionally ignores NonEmptyReducible trait for it not being a typeclass.

    Also see the discussion: PR #3541 and issue #3069.

    Definition Classes
    NonEmptyListInstances
  7. implicit def catsDataNonEmptyParallelForNonEmptyList[A]: Aux[NonEmptyList, ZipNonEmptyList]
    Definition Classes
    NonEmptyListInstances
  8. implicit def catsDataOrderForNonEmptyList[A](implicit A: Order[A]): Order[NonEmptyList[A]]
    Definition Classes
    NonEmptyListInstances
  9. implicit def catsDataPartialOrderForNonEmptyList[A](implicit A: PartialOrder[A]): PartialOrder[NonEmptyList[A]]
    Definition Classes
    NonEmptyListInstances0
  10. implicit def catsDataSemigroupForNonEmptyList[A]: Semigroup[NonEmptyList[A]]
    Definition Classes
    NonEmptyListInstances
  11. implicit def catsDataShowForNonEmptyList[A](implicit A: Show[A]): Show[NonEmptyList[A]]
    Definition Classes
    NonEmptyListInstances
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def fromFoldable[F[_], A](fa: F[A])(implicit F: Foldable[F]): Option[NonEmptyList[A]]
  16. def fromList[A](l: List[A]): Option[NonEmptyList[A]]

    Create a NonEmptyList from a List.

    Create a NonEmptyList from a List.

    The result will be None if the input list is empty and Some wrapping a NonEmptyList otherwise.

    See also

    fromListUnsafe for an unsafe version that throws an exception if the input list is empty.

  17. def fromListUnsafe[A](l: List[A]): NonEmptyList[A]

    Create a NonEmptyList from a List, or throw an IllegalArgumentException if the input list is empty.

    Create a NonEmptyList from a List, or throw an IllegalArgumentException if the input list is empty.

    See also

    fromList for a safe version that returns None if the input list is empty.

  18. def fromReducible[F[_], A](fa: F[A])(implicit F: Reducible[F]): NonEmptyList[A]
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. def of[A](head: A, tail: A*): NonEmptyList[A]
  26. def ofInitLast[A](init: List[A], last: A): NonEmptyList[A]
  27. def one[A](head: A): NonEmptyList[A]
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. object ZipNonEmptyList

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from NonEmptyListInstances

Inherited from NonEmptyListInstances0

Inherited from NonEmptyListInstances1

Inherited from AnyRef

Inherited from Any

Ungrouped