Pfarah


ParaResultImpl

Namespace: Pfarah

Functions and values

Function or valueDescription
Error x
Signature: x:string -> ParaResult<'a>
Type parameters: 'a
Ok x
Signature: x:'a -> ParaResult<'a>
Type parameters: 'a

Represents the deserialized value or an error. Adapted from Don Syme's Github comment on a result type in F#: https://github.com/fsharp/FSharpLangDesign/issues/49#issuecomment-193795013

Type extensions

Type extensionDescription
Error(x)
Signature: x:string -> ParaResult<'T1>
Type parameters: 'a

CompiledName: Choice`2.Error.Static

Ok(x)
Signature: x:'T1 -> ParaResult<'T1>
Type parameters: 'a

CompiledName: Choice`2.Ok.Static

Active patterns

Active patternDescription
( |Ok|Error| ) result
Signature: result:ParaResult<'Ok> -> ParaResult<'Ok>
Type parameters: 'Ok

CompiledName: |Ok|Error|

Fork me on GitHub