FSharpx.Extras


ResultBuilder Type

Constructors

Constructor Description

ResultBuilder()

Full Usage: ResultBuilder()

Returns: ResultBuilder
Returns: ResultBuilder

Instance members

Instance member Description

this.Bind

Full Usage: this.Bind

Parameters:
Returns: Result<'c, 'b>
Modifiers: inline
m : Result<'a, 'b>
f : 'a -> Result<'c, 'b>
Returns: Result<'c, 'b>

this.Delay

Full Usage: this.Delay

Parameters:
    f : 'a

Returns: 'a
Modifiers: inline
f : 'a
Returns: 'a

this.For

Full Usage: this.For

Parameters:
    sequence : 'a seq
    body : 'a -> 'b

Returns: Result<unit, 'c>
Modifiers: inline
sequence : 'a seq
body : 'a -> 'b
Returns: Result<unit, 'c>

this.Return

Full Usage: this.Return

Parameters:
    x : 'a

Returns: Result<'a, 'b>
Modifiers: inline
x : 'a
Returns: Result<'a, 'b>

this.ReturnFrom

Full Usage: this.ReturnFrom

Parameters:
    m : 'a

Returns: 'a
Modifiers: inline
m : 'a
Returns: 'a

this.Run

Full Usage: this.Run

Parameters:
    f : unit -> 'a

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

this.TryFinally

Full Usage: this.TryFinally

Parameters:
    m : 'a
    compensation : unit -> unit

Returns: 'a
Modifiers: inline
m : 'a
compensation : unit -> unit
Returns: 'a

this.TryWith

Full Usage: this.TryWith

Parameters:
    m : 'a
    h : exn -> 'a

Returns: 'a
Modifiers: inline
m : 'a
h : exn -> 'a
Returns: 'a

this.Using

Full Usage: this.Using

Parameters:
    res : 'a
    body : 'a -> 'b

Returns: 'b
Modifiers: inline
res : 'a
body : 'a -> 'b
Returns: 'b

this.While

Full Usage: this.While

Parameters:
    guard : unit -> bool
    f : unit -> 'a

Returns: Result<unit, 'b>
Modifiers: inline
guard : unit -> bool
f : unit -> 'a
Returns: Result<unit, 'b>

this.Zero

Full Usage: this.Zero

Returns: Result<unit, 'a>
Modifiers: inline
Returns: Result<unit, 'a>