NotEmptySet

fun <E> NotEmptySet(head: E, vararg tail: E): NotEmptySet<E>

Deprecated

Use the notEmptySetOf function instead.

Replace with

import kotools.types.collections.notEmptySetOf
notEmptySetOf<E>(head, *tail)

Creates a NotEmptySet starting with a head and containing all the elements of the optional tail.