FSharpPlus


Fold Type

Static members

Static member Description

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : 'a[]
    f : 'b -> 'a -> 'b
    z : 'b
    ?_impl : Fold

Returns: 'b
x : 'a[]
f : 'b -> 'a -> 'b
z : 'b
?_impl : Fold
Returns: 'b

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : Set<'a>
    f : 'b -> 'a -> 'b
    z : 'b
    ?_impl : Fold

Returns: 'b
x : Set<'a>
f : 'b -> 'a -> 'b
z : 'b
?_impl : Fold
Returns: 'b

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : 'a list
    f : 'b -> 'a -> 'b
    z : 'b
    ?_impl : Fold

Returns: 'b
x : 'a list
f : 'b -> 'a -> 'b
z : 'b
?_impl : Fold
Returns: 'b

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : seq<'a>
    f : 'b -> 'a -> 'b
    z : 'b
    ?_impl : Fold

Returns: 'b
x : seq<'a>
f : 'b -> 'a -> 'b
z : 'b
?_impl : Fold
Returns: 'b

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : Id<'a>
    f : 'b -> 'a -> 'c
    z : 'b
    ?_impl : Fold

Returns: 'c
x : Id<'a>
f : 'b -> 'a -> 'c
z : 'b
?_impl : Fold
Returns: 'c

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : 'a option
    f : 'b -> 'a -> 'b
    z : 'b
    ?_impl : Fold

Returns: 'b
x : 'a option
f : 'b -> 'a -> 'b
z : 'b
?_impl : Fold
Returns: 'b

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : ^F
    f : 'b -> 'a -> 'b
    z : 'b
    ?_impl : Default1

Returns: 'b
Modifiers: inline
Type parameters: ^F, 'b, 'a
x : ^F
f : 'b -> 'a -> 'b
z : 'b
?_impl : Default1
Returns: 'b

Fold.Fold(x, f, z, ?_impl)

Full Usage: Fold.Fold(x, f, z, ?_impl)

Parameters:
    x : ^a
    f : 'c -> 'b -> 'c
    z : 'c
    ?_impl : Default2

Returns: 'c
Modifiers: inline
x : ^a
f : 'c -> 'b -> 'c
z : 'c
?_impl : Default2
Returns: 'c

Fold.FromFoldMap(f) (z) (t)

Full Usage: Fold.FromFoldMap(f) (z) (t)

Parameters:
    f : 't -> 'a -> 't
    z : 't
    t : ^b

Returns: 't
Modifiers: inline
f : 't -> 'a -> 't
z : 't
t : ^b
Returns: 't

Fold.Invoke(folder) (state) (foldable)

Full Usage: Fold.Invoke(folder) (state) (foldable)

Parameters:
    folder : 'State -> 'T -> 'State
    state : 'State
    foldable : ^Foldable'

Returns: 'State
Modifiers: inline
Type parameters: 'State, 'T, ^Foldable'<T>
folder : 'State -> 'T -> 'State
state : 'State
foldable : ^Foldable'
Returns: 'State