ConverterImpl

constructor(convertRight: (L) -> R, convertLeft: (R) -> L)

Parameters

convertRight

A function for converting from L to R

convertLeft

A function for converting from R to L

Type Parameters

L

The left type

R

The right type