Header menu logo bristlecone

ResultBuilder Type

A result computation expression. Source: http://www.fssnip.net/7UJ/title/ResultBuilder-Computational-Expression

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<'a, 'E>
arg0 : Option<'T> * 'E
f : 'T -> Result<'a, 'E>
Returns: Result<'a, 'E>

this.Bind

Full Usage: this.Bind

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

this.Combine

Full Usage: this.Combine

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

this.Delay

Full Usage: this.Delay

Parameters:
    f : unit -> 'a

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

this.Return

Full Usage: this.Return

Parameters:
    x : 'a

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

this.ReturnFrom

Full Usage: this.ReturnFrom

Parameters:
Returns: Result<'a, 'b>
m : Result<'a, 'b>
Returns: Result<'a, 'b>

this.Run

Full Usage: this.Run

Parameters:
    f : unit -> 'a

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

this.TryFinally

Full Usage: this.TryFinally

Parameters:
    m : Result<'a, 'b>
    compensation : unit -> unit

Returns: Result<'a, 'b>
m : Result<'a, 'b>
compensation : unit -> unit
Returns: Result<'a, 'b>

this.TryWith

Full Usage: this.TryWith

Parameters:
Returns: Result<'a, 'b>
m : Result<'a, 'b>
h : exn -> Result<'a, 'b>
Returns: Result<'a, 'b>

this.While

Full Usage: this.While

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

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

this.Zero

Full Usage: this.Zero

Returns: 'a option
Returns: 'a option

Type something to start searching.