A type-safe set that contains at least one element.
Record Field | Description |
|
Instance member | Description |
|
|
Full Usage:
this.Contains
Parameters:
'a
Returns: bool
|
|
Full Usage:
this.Count
Returns: int
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.MaximumElement
Returns: 'a
|
|
Full Usage:
this.MinimumElement
Returns: 'a
|
|
Static member | Description |
Full Usage:
set1 + set2
Parameters:
NonEmptySet<'a>
set2 : NonEmptySet<'a>
Returns: NonEmptySet<'a>
|
|
Full Usage:
NonEmptySet.Create(first, rest)
Parameters:
'a
rest : 'a[]
Returns: NonEmptySet<'a>
|
|
Full Usage:
NonEmptySet.FoldBack(set, f, z)
Parameters:
NonEmptySet<'a>
f : 'a -> 'b -> 'b
z : 'b
Returns: 'b
|
|
Full Usage:
NonEmptySet.Map(x, f)
Parameters:
NonEmptySet<'a>
f : 'a -> 'b
Returns: NonEmptySet<'b>
|
|
Full Usage:
NonEmptySet.Reduce(s, reduction)
Parameters:
NonEmptySet<'a>
reduction : 'a -> 'a -> 'a
Returns: 'a
|
|
|
|
Full Usage:
NonEmptySet.ToList(s, ?_impl)
Parameters:
NonEmptySet<'a>
?_impl : ToList
Returns: 'a list
|
|
Full Usage:
NonEmptySet.ToSeq(s, ?_impl)
Parameters:
NonEmptySet<'a>
?_impl : ToSeq
Returns: 'a seq
|
|