# NonEmptyList

indigo.shared.collections.NonEmptyList
See theNonEmptyList companion class
object NonEmptyList

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

## Members list

### Type members

#### Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

## Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

## Attributes

Inherited from:
Mirror

### Value members

#### Concrete methods

def append[A](fa: NonEmptyList[A])(next: A): NonEmptyList[A]
def apply[A](head: A, tail: A*): NonEmptyList[A]
def combine[A](fa: NonEmptyList[A])(fb: NonEmptyList[A]): NonEmptyList[A]
def combineWithList[A](fa: NonEmptyList[A])(fb: List[A]): NonEmptyList[A]
def cons[A](fa: NonEmptyList[A])(first: A): NonEmptyList[A]
def exists[A](fa: NonEmptyList[A])(p: A => Boolean): Boolean
def find[A](fa: NonEmptyList[A])(p: A => Boolean): Option[A]
def flatMap[A, B](fa: NonEmptyList[A])(f: A => NonEmptyList[B]): NonEmptyList[B]
def foldLeft[A, Z](fa: NonEmptyList[A])(acc: Z)(f: (Z, A) => Z): Z
def forall[A](fa: NonEmptyList[A])(p: A => Boolean): Boolean
def fromBatch[A](b: Batch[A]): Option[NonEmptyList[A]]
def fromList[A](l: List[A]): Option[NonEmptyList[A]]
def length[A](fa: NonEmptyList[A]): Int
def map[A, B](fa: NonEmptyList[A])(f: A => B): NonEmptyList[B]
def point[A](a: A): NonEmptyList[A]
def pure[A](headItem: A, tailItems: List[A]): NonEmptyList[A]
def reduce[A](fa: NonEmptyList[A])(f: (A, A) => A): A
def reverse[A](fa: NonEmptyList[A]): NonEmptyList[A]
def sequenceListOption[A](l: List[Option[A]]): Option[List[A]]
def sequenceOption[A](l: NonEmptyList[Option[A]]): Option[NonEmptyList[A]]
def zip[A, B](fa: NonEmptyList[A], fb: NonEmptyList[B]): NonEmptyList[(A, B)]
def zipWithIndex[A](fa: NonEmptyList[A]): NonEmptyList[(A, Int)]

### Givens

#### Givens

given derived\$CanEqual[A_\$_L, A_\$_R](implicit x\$0: CanEqual[A_\$_L, A_\$_R]): CanEqual[NonEmptyList[A_\$_L], NonEmptyList[A_\$_R]]