Converter
Advxml Created by geirolad on 31/10/2019.
Value members
Concrete methods
Apply conversion using implicit Converter instance.
This method catch a Converter instance in the scope that conforms with types F
, A
and B
and then invoke
in it the method apply
passing a
.
Apply conversion using implicit Converter instance.
This method catch a Converter instance in the scope that conforms with types F
, A
and B
and then invoke
in it the method apply
passing a
.
- Type Params
- A
Contravariant input type
- B
Output object type
- Value Params
- c
implicit Converter instance
- Returns
Safe conversion of
A
intoB
, express asF[B]
Create an always pure converter that return the input instance.
Create an always pure converter that return the input instance.
- Type Params
- A
input and output type
- Returns
Identity Converter instance
Create an always pure converter that return the input instance wrapped in F
.
Create an always pure converter that return the input instance wrapped in F
.
- Type Params
- A
input and output type
- F
context
- Returns
Identity Converter instance