ValidatedLensModule
PackageFCQRS.Model
Summary
| Name | Signature | Synopsis |
|---|---|---|
| composeMapErrors | ValidatedLens.composeMapErrors (arg0, arg1) (arg2, arg3) mapError1 mapError2 | Compose two ValidatedLens instances while mapping errors. |
| composeLensPrismMapErrors | ValidatedLens.composeLensPrismMapErrors (arg0, arg1) (arg2, arg3) mapError1 mapError2 | No description available. |
| mapError | ValidatedLens.mapError f (arg1, arg2) | No description available. |
Compose two ValidatedLens instances while mapping errors.
Parameters
| Name | Type | Description |
|---|---|---|
| arg0 | 'a -> 'b | |
| arg1 | 'b -> 'a -> Result<'a, 'e1> | |
| arg2 | 'b -> 'c | |
| arg3 | 'c -> 'b -> Result<'b, 'e2> | |
| mapError1 | 'e1 -> string | |
| mapError2 | 'e2 -> string |
Returns
ValidatedLens<'a, 'c, string>
ValidatedLens.composeLensPrismMapErrors (arg0, arg1) (arg2, arg3) mapError1 mapError2
MemberParameters
| Name | Type | Description |
|---|---|---|
| arg0 | 'a -> 'b | |
| arg1 | 'b -> 'a -> Result<'a, 'e1> | |
| arg2 | 'b -> 'c option | |
| arg3 | 'c -> 'b -> Result<'b, 'e2> | |
| mapError1 | 'e1 -> 'e | |
| mapError2 | 'e2 -> 'e |
Returns
ValidatedPrism<'a, 'c, 'e>