FSharpPlus


ResultT Module

Basic operations on ResultT

Functions and values

Function or value Description

ResultT.apply arg1 arg2

Full Usage: ResultT.apply arg1 arg2

Parameters:
Returns: ResultT<^Monad>>
Modifiers: inline
arg0 : ResultT<^Monad'U),'E>>>
arg1 : ResultT<^Monad>>
Returns: ResultT<^Monad>>

ResultT.bind f arg2

Full Usage: ResultT.bind f arg2

Parameters:
Returns: ResultT<^Monad>>
Modifiers: inline
f : 'T -> ResultT<^Monad>>
arg1 : ResultT<^Monad>>
Returns: ResultT<^Monad>>

ResultT.hoist x

Full Usage: ResultT.hoist x

Parameters:
Returns: ResultT<^Monad>>
Modifiers: inline
Type parameters: 'T, 'TError, ^Monad<Result<'T,'TError>>

Transform a Result<'T,'Error> to a ResultT<'Monad>>

x : Result<'T, 'TError>
Returns: ResultT<^Monad>>

ResultT.lift x

Full Usage: ResultT.lift x

Parameters:
    x : ^Monad<'T>

Returns: ResultT<^Monad>>
Modifiers: inline

Embed a Monad<'T> into a ResultT<'Monad>>

x : ^Monad<'T>
Returns: ResultT<^Monad>>

ResultT.map f arg2

Full Usage: ResultT.map f arg2

Parameters:
    f : 'T -> 'U
    arg1 : ResultT<^Monad>>

Returns: ResultT<^Monad'U),'E>>>
Modifiers: inline
f : 'T -> 'U
arg1 : ResultT<^Monad>>
Returns: ResultT<^Monad'U),'E>>>

ResultT.map2 f arg2 arg3

Full Usage: ResultT.map2 f arg2 arg3

Parameters:
Returns: ResultT<^Monad>>
Modifiers: inline
f : 'T -> 'U -> 'V
arg1 : ResultT<^Monad>>
arg2 : ResultT<^Monad>>
Returns: ResultT<^Monad>>

ResultT.map3 f arg2 arg3 arg4

Full Usage: ResultT.map3 f arg2 arg3 arg4

Parameters:
Returns: ResultT<^Monad>>
Modifiers: inline
f : 'T -> 'U -> 'V -> 'W
arg1 : ResultT<^Monad>>
arg2 : ResultT<^Monad>>
arg3 : ResultT<^Monad>>
Returns: ResultT<^Monad>>

ResultT.run arg1

Full Usage: ResultT.run arg1

Parameters:
Returns: 'Monad>
arg0 : ResultT<'Monad>>
Returns: 'Monad>