B2R2


OrElseBuilder Type

A builder for OrElse computation expression.

Constructors

Constructor Description

OrElseBuilder()

Full Usage: OrElseBuilder()

Returns: OrElseBuilder
Returns: OrElseBuilder

Instance members

Instance member Description

this.Bind(m, f)

Full Usage: this.Bind(m, f)

Parameters:
    m : 'a option
    f : unit -> 'a option

Returns: 'a option
m : 'a option
f : unit -> 'a option
Returns: 'a option

this.Combine(m, f)

Full Usage: this.Combine(m, f)

Parameters:
    m : 'a option
    f : unit -> 'a option

Returns: 'a option
m : 'a option
f : unit -> 'a option
Returns: 'a option

this.Delay(f)

Full Usage: this.Delay(f)

Parameters:
    f : 'a

Returns: 'a
f : 'a
Returns: 'a

this.ReturnFrom(x)

Full Usage: this.ReturnFrom(x)

Parameters:
    x : 'a

Returns: 'a
x : 'a
Returns: 'a

this.Run(f)

Full Usage: this.Run(f)

Parameters:
    f : unit -> 'a

Returns: 'a
f : unit -> 'a
Returns: 'a

this.YieldFrom(x)

Full Usage: this.YieldFrom(x)

Parameters:
    x : 'a

Returns: 'a
x : 'a
Returns: 'a