B2R2


MaybeBuilder Type

A builder for Maybe computation expression.

Constructors

Constructor Description

MaybeBuilder()

Full Usage: MaybeBuilder()

Returns: MaybeBuilder
Returns: MaybeBuilder

Instance members

Instance member Description

this.Bind(m, f)

Full Usage: this.Bind(m, f)

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

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

this.Return(x)

Full Usage: this.Return(x)

Parameters:
    x : 'a

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

this.ReturnFrom(x)

Full Usage: this.ReturnFrom(x)

Parameters:
    x : 'a option

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

this.Zero()

Full Usage: this.Zero()

Returns: 'a option
Returns: 'a option