FSharpPlus


NonEmptyList<'t> Type

A type-safe list that contains at least one element.

Record fields

Record Field Description

Head

Full Usage: Head

Field type: 't
Field type: 't

Tail

Full Usage: Tail

Field type: 't list
Field type: 't list

Instance members

Instance member Description

this.GetSlice

Full Usage: this.GetSlice

Returns: int option * int option -> NonEmptyList<'t>
Returns: int option * int option -> NonEmptyList<'t>

this[]

Full Usage: this[]

Returns: int -> 't
Returns: int -> 't

this.Length

Full Usage: this.Length

Returns: int
Returns: int

Static members

Static member Description

arg0 + x

Full Usage: arg0 + x

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

f <*> x

Full Usage: f <*> x

Parameters:
Returns: NonEmptyList<'U>
f : NonEmptyList<('T -> 'U)>
x : NonEmptyList<'T>
Returns: NonEmptyList<'U>

f <.> x

Full Usage: f <.> x

Parameters:
Returns: NonEmptyList<'U>
f : NonEmptyList<('T -> 'U)>
x : NonEmptyList<'T>
Returns: NonEmptyList<'U>

s =>> g

Full Usage: s =>> g

Parameters:
Returns: NonEmptyList<'b>
s : NonEmptyList<'a>
g : NonEmptyList<'a> -> 'b
Returns: NonEmptyList<'b>

arg0 >>= f

Full Usage: arg0 >>= f

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

NonEmptyList.Choice(source)

Full Usage: NonEmptyList.Choice(source)

Parameters:
Returns: ^Alt<'T>
Modifiers: inline
source : NonEmptyList<^Alt<'T>>
Returns: ^Alt<'T>

NonEmptyList.Duplicate(s, ?_impl)

Full Usage: NonEmptyList.Duplicate(s, ?_impl)

Parameters:
Returns: NonEmptyList<NonEmptyList<'a>>
s : NonEmptyList<'a>
?_impl : Duplicate
Returns: NonEmptyList<NonEmptyList<'a>>

NonEmptyList.Extract(arg1)

Full Usage: NonEmptyList.Extract(arg1)

Parameters:
Returns: 't
arg0 : NonEmptyList<'t>
Returns: 't

NonEmptyList.Fold(arg1, f, z)

Full Usage: NonEmptyList.Fold(arg1, f, z)

Parameters:
Returns: 'b
arg0 : NonEmptyList<'a>
f : 'b -> 'a -> 'b
z : 'b
Returns: 'b

NonEmptyList.FoldBack(arg1, f, z)

Full Usage: NonEmptyList.FoldBack(arg1, f, z)

Parameters:
Returns: 'b
arg0 : NonEmptyList<'a>
f : 'a -> 'b -> 'b
z : 'b
Returns: 'b

NonEmptyList.Gather(s, f)

Full Usage: NonEmptyList.Gather(s, f)

Parameters:
Returns: ^Functor>
Modifiers: inline
s : NonEmptyList<'T>
f : 'T -> ^Functor<'U>
Returns: ^Functor>

NonEmptyList.Lift2(f, x, y)

Full Usage: NonEmptyList.Lift2(f, x, y)

Parameters:
Returns: NonEmptyList<'V>
f : 'T -> 'U -> 'V
x : NonEmptyList<'T>
y : NonEmptyList<'U>
Returns: NonEmptyList<'V>

NonEmptyList.Lift3(f, x, y, z)

Full Usage: NonEmptyList.Lift3(f, x, y, z)

Parameters:
Returns: NonEmptyList<'W>
f : 'T -> 'U -> 'V -> 'W
x : NonEmptyList<'T>
y : NonEmptyList<'U>
z : NonEmptyList<'V>
Returns: NonEmptyList<'W>

NonEmptyList.Map(x, f)

Full Usage: NonEmptyList.Map(x, f)

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

NonEmptyList.Map2(f, x, y)

Full Usage: NonEmptyList.Map2(f, x, y)

Parameters:
Returns: NonEmptyList<'V>
f : 'T -> 'U -> 'V
x : NonEmptyList<'T>
y : NonEmptyList<'U>
Returns: NonEmptyList<'V>

NonEmptyList.Map3(f, x, y, z)

Full Usage: NonEmptyList.Map3(f, x, y, z)

Parameters:
Returns: NonEmptyList<'W>
f : 'T -> 'U -> 'V -> 'W
x : NonEmptyList<'T>
y : NonEmptyList<'U>
z : NonEmptyList<'V>
Returns: NonEmptyList<'W>

NonEmptyList.MapIndexed(x, f)

Full Usage: NonEmptyList.MapIndexed(x, f)

Parameters:
Returns: NonEmptyList<'b>
x : NonEmptyList<'a>
f : int -> 'a -> 'b
Returns: NonEmptyList<'b>

NonEmptyList.Pure(x)

Full Usage: NonEmptyList.Pure(x)

Parameters:
    x : 'a

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

NonEmptyList.Reduce(arg1, reduction)

Full Usage: NonEmptyList.Reduce(arg1, reduction)

Parameters:
Returns: 'T
arg0 : NonEmptyList<'T>
reduction : 'T -> 'T -> 'T
Returns: 'T

NonEmptyList.Replace(source, oldValue, newValue, _impl)

Full Usage: NonEmptyList.Replace(source, oldValue, newValue, _impl)

Parameters:
Returns: NonEmptyList<'T>
source : NonEmptyList<'T>
oldValue : NonEmptyList<'T>
newValue : NonEmptyList<'T>
_impl : Replace
Returns: NonEmptyList<'T>

NonEmptyList.Return(x)

Full Usage: NonEmptyList.Return(x)

Parameters:
    x : 'a

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

NonEmptyList.Sequence(s)

Full Usage: NonEmptyList.Sequence(s)

Parameters:
Returns: ^Functor>
Modifiers: inline
s : NonEmptyList<^Functor<'T>>
Returns: ^Functor>

NonEmptyList.Sum(source)

Full Usage: NonEmptyList.Sum(source)

Parameters:
Returns: NonEmptyList<'T>
source : NonEmptyList<'T> seq
Returns: NonEmptyList<'T>

NonEmptyList.ToList(s, ?_impl)

Full Usage: NonEmptyList.ToList(s, ?_impl)

Parameters:
Returns: 'a list
s : NonEmptyList<'a>
?_impl : ToList
Returns: 'a list

NonEmptyList.ToSeq(s, ?_impl)

Full Usage: NonEmptyList.ToSeq(s, ?_impl)

Parameters:
Returns: 'a seq
s : NonEmptyList<'a>
?_impl : ToSeq
Returns: 'a seq

NonEmptyList.Transpose(s)

Full Usage: NonEmptyList.Transpose(s)

Parameters:
Returns: ^Functor>
Modifiers: inline
s : NonEmptyList<^Functor<'T>>
Returns: ^Functor>

NonEmptyList.Traverse(s, f)

Full Usage: NonEmptyList.Traverse(s, f)

Parameters:
Returns: ^Functor>
Modifiers: inline
s : NonEmptyList<'T>
f : 'T -> ^Functor<'U>
Returns: ^Functor>

NonEmptyList.Unzip(s)

Full Usage: NonEmptyList.Unzip(s)

Parameters:
Returns: NonEmptyList<'a> * NonEmptyList<'b>
s : NonEmptyList<'a * 'b>
Returns: NonEmptyList<'a> * NonEmptyList<'b>

NonEmptyList.Zip(x, y)

Full Usage: NonEmptyList.Zip(x, y)

Parameters:
Returns: NonEmptyList<'a * 'b>
x : NonEmptyList<'a>
y : NonEmptyList<'b>
Returns: NonEmptyList<'a * 'b>