Pfarah


Functional

Namespace: Pfarah

Nested types and modules

TypeDescription
FromParaDefaults

Functions and values

Function or valueDescription
deserialize paraValue
Signature: paraValue:ParaValue -> ^?7422
Type parameters: ^?7422

Deserialize data into a type implementing FromPara. Throws an exception on failure

fromPara x
Signature: x:ParaValue -> ParaResult<^a>
Type parameters: ^a
lister fn
Signature: fn:(^?7412 [] -> '?7413) -> ParaValue<'?7413>
Type parameters: ^?7412, '?7413
pget key o
Signature: key:string -> o:ParaValue -> ParaResult<^a>
Type parameters: ^a

Extract and deserialize the value with a given key

pgetAll key o
Signature: key:string -> o:ParaValue -> ParaResult<^?7426 []>
Type parameters: ^?7426

Extract and deserialize all the values matching a given key into a result

tryPget key o
Signature: key:string -> o:ParaValue -> ParaResult<^a option>
Type parameters: ^a

Extract and deserialize the value with a given key if the key is present

Fork me on GitHub