FSharpx.Extras


Monoid Module

Functions and values

Function or value Description

all

Full Usage: all

Returns: Monoid<bool>
Returns: Monoid<bool>

any

Full Usage: any

Returns: Monoid<bool>
Returns: Monoid<bool>

dual m

Full Usage: dual m

Parameters:
Returns: Monoid<'a>

The dual of a monoid, obtained by swapping the arguments of 'Combine'.

m : Monoid<'a>
Returns: Monoid<'a>

endo

Full Usage: endo

Returns: Monoid<('T -> 'T)>
Returns: Monoid<('T -> 'T)>

maxInt

Full Usage: maxInt

Returns: Monoid<int>
Returns: Monoid<int>

minInt

Full Usage: minInt

Returns: Monoid<int>
Returns: Monoid<int>

product ()

Full Usage: product ()

Parameters:
    () : unit

Returns: Monoid<^a>
Modifiers: inline

Monoid (a,1,*)

() : unit
Returns: Monoid<^a>

productInt

Full Usage: productInt

Returns: Monoid<int>

Monoid (int,1,*)

Returns: Monoid<int>

string

Full Usage: string

Returns: Monoid<string>
Returns: Monoid<string>

sum ()

Full Usage: sum ()

Parameters:
    () : unit

Returns: Monoid<^a>
Modifiers: inline

Monoid (a,0,+)

() : unit
Returns: Monoid<^a>

sumInt

Full Usage: sumInt

Returns: Monoid<int>

Monoid (int,0,+)

Returns: Monoid<int>

tuple2 a b

Full Usage: tuple2 a b

Parameters:
Returns: Monoid<'a * 'b>
a : Monoid<'a>
b : Monoid<'b>
Returns: Monoid<'a * 'b>

tuple3 a b c

Full Usage: tuple3 a b c

Parameters:
Returns: Monoid<'T * 'b * 'c>
a : Monoid<'T>
b : Monoid<'b>
c : Monoid<'c>
Returns: Monoid<'T * 'b * 'c>

unit

Full Usage: unit

Returns: Monoid<unit>
Returns: Monoid<unit>