NonEmptyList

object NonEmptyList
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

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 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 zip[A, B](fa: NonEmptyList[A], fb: NonEmptyList[B]): NonEmptyList[(A, B)]
def zipWithIndex[A](fa: NonEmptyList[A]): NonEmptyList[(A, Int)]

Givens

Givens