Class/Object

scalaz

NonEmptyList

Related Docs: object NonEmptyList | package scalaz

Permalink

final class 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
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def :::>(bs: IList[A]): NonEmptyList[A]

    Permalink
  4. def <::(b: A): NonEmptyList[A]

    Permalink
  5. def <:::(bs: IList[A]): NonEmptyList[A]

    Permalink
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def append(f2: NonEmptyList[A]): NonEmptyList[A]

    Permalink

    Append one nonempty list to another.

  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def distinct(implicit A: Order[A]): NonEmptyList[A]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
  15. def foreach(f: (A) ⇒ Unit): Unit

    Permalink

    Since

    7.0.3

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

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

    Permalink
    Definition Classes
    NonEmptyList → AnyRef → Any
  18. val head: A

    Permalink
  19. def init: IList[A]

    Permalink

    Since

    7.0.2

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def last: A

    Permalink

    Since

    7.0.2

  22. def list: IList[A]

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

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def reverse: NonEmptyList[A]

    Permalink
  28. def size: Int

    Permalink
  29. def sortBy[B](f: (A) ⇒ B)(implicit o: Order[B]): NonEmptyList[A]

    Permalink

    Since

    7.0.2

  30. def sortWith(lt: (A, A) ⇒ Boolean): NonEmptyList[A]

    Permalink

    Since

    7.0.2

  31. def sorted(implicit o: Order[A]): NonEmptyList[A]

    Permalink

    Since

    7.0.2

  32. def stream: Stream[A]

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

    Permalink
    Definition Classes
    AnyRef
  34. val tail: IList[A]

    Permalink
  35. def tails: NonEmptyList[NonEmptyList[A]]

    Permalink
  36. def toString(): String

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

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

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

    Permalink
  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( ... )
  43. def zip[B](b: ⇒ NonEmptyList[B]): NonEmptyList[(A, B)]

    Permalink
  44. def zipWithIndex: NonEmptyList[(A, Int)]

    Permalink
  45. def zipperEnd: Zipper[A]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped