Type class definition that wraps patching behavior.
Type class expressing total transformation between
source type From
and target type To
.
Type class expressing total transformation between
source type From
and target type To
.
type of input value
type of output value
Type class expressing partial transformation between
source type From
and target type To
, wrapping
transformation result in type constructor F
.
Type class expressing partial transformation between
source type From
and target type To
, wrapping
transformation result in type constructor F
.
Useful for validated transformations, where result type is wrapped in Option, Either, Validated, etc...
wrapper type constructor
type of input value
type of output value
Type class supporting lifted transformers.
Type class supporting lifted transformers.
In order to create lifted transformation from A
to F[B]
,
we need these few operations to be implemented for specific F
wrapper type.
wrapper type constructor
TransformerFSupport.TransformerFEitherErrorAccumulatingSupport for implementation for Either
TransformerFSupport.TransformerFOptionSupport for implementation for Option
Main object to import in order to use Chimney's features
Type class definition that wraps patching behavior.
type of object to apply patch to
type of patch object