FSharpx.Collections


NonEmptyList Module

Functions and values

Function or value Description

NonEmptyList.append list1 list2

Full Usage: NonEmptyList.append list1 list2

Parameters:
Returns: NonEmptyList<'a>
list1 : NonEmptyList<'a>
list2 : NonEmptyList<'a>
Returns: NonEmptyList<'a>

NonEmptyList.appendList list1 list2

Full Usage: NonEmptyList.appendList list1 list2

Parameters:
Returns: NonEmptyList<'a>
list1 : NonEmptyList<'a>
list2 : 'a list
Returns: NonEmptyList<'a>

NonEmptyList.collect mapping list

Full Usage: NonEmptyList.collect mapping list

Parameters:
Returns: NonEmptyList<'b>
mapping : 'a -> NonEmptyList<'b>
list : NonEmptyList<'a>
Returns: NonEmptyList<'b>

NonEmptyList.cons head tail

Full Usage: NonEmptyList.cons head tail

Parameters:
Returns: NonEmptyList<'a>
head : 'a
tail : NonEmptyList<'a>
Returns: NonEmptyList<'a>

NonEmptyList.create head tail

Full Usage: NonEmptyList.create head tail

Parameters:
    head : 'a
    tail : 'a list

Returns: NonEmptyList<'a>
head : 'a
tail : 'a list
Returns: NonEmptyList<'a>

NonEmptyList.createParamsArray (head, tail)

Full Usage: NonEmptyList.createParamsArray (head, tail)

Parameters:
    head : 'a
    tail : 'a[]

Returns: NonEmptyList<'a>
head : 'a
tail : 'a[]
Returns: NonEmptyList<'a>

NonEmptyList.head x

Full Usage: NonEmptyList.head x

Parameters:
Returns: 'a
x : NonEmptyList<'a>
Returns: 'a

NonEmptyList.last list

Full Usage: NonEmptyList.last list

Parameters:
Returns: 'a
list : NonEmptyList<'a>
Returns: 'a

NonEmptyList.length x

Full Usage: NonEmptyList.length x

Parameters:
Returns: int
x : NonEmptyList<'a>
Returns: int

NonEmptyList.map f list

Full Usage: NonEmptyList.map f list

Parameters:
Returns: NonEmptyList<'b>
f : 'a -> 'b
list : NonEmptyList<'a>
Returns: NonEmptyList<'b>

NonEmptyList.ofArray arr

Full Usage: NonEmptyList.ofArray arr

Parameters:
    arr : 'a array

Returns: NonEmptyList<'a>
arr : 'a array
Returns: NonEmptyList<'a>

NonEmptyList.ofList l

Full Usage: NonEmptyList.ofList l

Parameters:
    l : 'a list

Returns: NonEmptyList<'a>
l : 'a list
Returns: NonEmptyList<'a>

NonEmptyList.ofSeq e

Full Usage: NonEmptyList.ofSeq e

Parameters:
    e : seq<'a>

Returns: NonEmptyList<'a>
e : seq<'a>
Returns: NonEmptyList<'a>

NonEmptyList.reduce reduction list

Full Usage: NonEmptyList.reduce reduction list

Parameters:
Returns: 'a
reduction : 'a -> 'a -> 'a
list : NonEmptyList<'a>
Returns: 'a

NonEmptyList.rev list

Full Usage: NonEmptyList.rev list

Parameters:
Returns: NonEmptyList<'a>
list : NonEmptyList<'a>
Returns: NonEmptyList<'a>

NonEmptyList.singleton value

Full Usage: NonEmptyList.singleton value

Parameters:
    value : 'a

Returns: NonEmptyList<'a>
value : 'a
Returns: NonEmptyList<'a>

NonEmptyList.tail x

Full Usage: NonEmptyList.tail x

Parameters:
Returns: 'a list
x : NonEmptyList<'a>
Returns: 'a list

NonEmptyList.toArray list

Full Usage: NonEmptyList.toArray list

Parameters:
Returns: 'a[]
list : NonEmptyList<'a>
Returns: 'a[]

NonEmptyList.toList x

Full Usage: NonEmptyList.toList x

Parameters:
Returns: 'a list
x : NonEmptyList<'a>
Returns: 'a list

NonEmptyList.toSeq list

Full Usage: NonEmptyList.toSeq list

Parameters:
Returns: seq<'a>
list : NonEmptyList<'a>
Returns: seq<'a>

NonEmptyList.zip list1 list2

Full Usage: NonEmptyList.zip list1 list2

Parameters:
Returns: NonEmptyList<'a * 'b>
list1 : NonEmptyList<'a>
list2 : NonEmptyList<'b>
Returns: NonEmptyList<'a * 'b>