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
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. def inits: NonEmptyList[NonEmptyList[A]]

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def last: A

    Permalink

    Since

    7.0.2

  23. def list: IList[A]

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

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

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

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

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

    Permalink
  29. def size: Int

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

    Permalink

    Since

    7.0.2

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

    Permalink

    Since

    7.0.2

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

    Permalink

    Since

    7.0.2

  33. def stream: Stream[A]

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

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

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

    Permalink
  37. def toString(): String

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

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

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

    Permalink
  41. final def wait(): Unit

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

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

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

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

    Permalink
  46. def zipperEnd: Zipper[A]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped