indigo.shared.collections

Type members

Classlikes

final case
class NonEmptyList[A](head: A, tail: List[A])

An ordered list-type object that requires there to always be at least one element present, ruling out the possibility of unsafely accessing the head element.

An ordered list-type object that requires there to always be at least one element present, ruling out the possibility of unsafely accessing the head element.

Type Params
A

The type of element to be stored in the list.

Companion
object
Companion
class