scalaz

NonEmptyList

sealed trait NonEmptyList[+A] extends AnyRef

A singly-linked list that is guaranteed to be non-empty.

Source
NonEmptyList.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NonEmptyList
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val head: A

  2. abstract val tail: List[A]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def :::>[AA >: A](bs: List[AA]): NonEmptyList[AA]

  5. def <::[AA >: A](b: AA): NonEmptyList[AA]

  6. def <:::[AA >: A](bs: List[AA]): NonEmptyList[AA]

  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. def append[AA >: A](f2: NonEmptyList[AA]): NonEmptyList[AA]

    Append one nonempty list to another.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(any: Any): Boolean

    Definition Classes
    NonEmptyList → AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatMap[B](f: (A) ⇒ NonEmptyList[B]): NonEmptyList[B]

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

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

    Definition Classes
    NonEmptyList → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def list: List[A]

  20. def map[B](f: (A) ⇒ B): NonEmptyList[B]

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def reverse: NonEmptyList[A]

  25. def size: Int

  26. def stream: Stream[A]

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

    Definition Classes
    AnyRef
  28. def tails: NonEmptyList[NonEmptyList[A]]

  29. def toString(): String

    Definition Classes
    NonEmptyList → AnyRef → Any
  30. def toZipper: Zipper[A]

  31. def traverse1[F[_], B](f: (A) ⇒ F[B])(implicit F: Apply[F]): F[NonEmptyList[B]]

  32. def unzip[X, Y](implicit ev: <:<[A, (X, Y)]): (NonEmptyList[X], NonEmptyList[Y])

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def zip[B](b: ⇒ NonEmptyList[B]): NonEmptyList[(A, B)]

  37. def zipperEnd: Zipper[A]

Inherited from AnyRef

Inherited from Any

Ungrouped