NonEmptyList

oxygen.core.NonEmptyList
See theNonEmptyList companion class
object NonEmptyList

Attributes

Companion
class
Experimental
true
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

inline def fill[A](size: Int)(elem: A): NonEmptyList[A]
inline def fromList[A](list: List[A]): Option[NonEmptyList[A]]
inline def of[A](inline elem0: A, inline elemN: A*): NonEmptyList[A]
inline def one[A](elem0: A): NonEmptyList[A]
def unapply[A](list: List[A]): Option[NonEmptyList[A]]
def unapply[A](list: NonEmptyList[A]): Some[NonEmptyList[A]]
def unsafeFill[A](size: Int)(elem: A): NonEmptyList[A]
inline def unsafeFromList[A](list: List[A]): NonEmptyList[A]