Prism Module
Composes a Prism with a Lens, a Prism or an Isomorphism.
Functions and values
| Function or value |
Description
|
Full Usage:
Prism.composeIso (arg1, arg1) (arg2, arg2)
Parameters:
'a -> 'b option
arg1 : 'b -> 'a -> 'a
arg2 : 'b -> 'c
arg3 : 'c -> 'b
Returns: Prism<'a, 'c>
Type parameters: 'a, 'b, 'c |
Compose a Prism with an Isomorphism, giving a Prism.
|
Full Usage:
Prism.composeLens (arg1, arg1) (arg2, arg2)
Parameters:
'a -> 'b option
arg1 : 'b -> 'a -> 'a
arg2 : 'b -> 'c
arg3 : 'c -> 'b -> 'b
Returns: Prism<'a, 'c>
Type parameters: 'a, 'b, 'c |
Compose a Prism with a Lens, giving a Prism.
|
Full Usage:
Prism.composePrism (arg1, arg1) (arg2, arg2)
Parameters:
'a -> 'b option
arg1 : 'b -> 'a -> 'a
arg2 : 'b -> 'c option
arg3 : 'c -> 'b -> 'b
Returns: Prism<'a, 'c>
Type parameters: 'a, 'b, 'c |
Compose a Prism with a Prism, giving a Prism.
|
GenPRES