package chimney
- Alphabetic
- Public
- Protected
Package Members
Type Members
- trait Patcher[T, Patch] extends AnyRef
Type class definition that wraps patching behavior.
Type class definition that wraps patching behavior.
- T
type of object to apply patch to
- Patch
type of patch object
- trait Transformer[From, To] extends AnyRef
Type class expressing total transformation between source type
From
and target typeTo
.Type class expressing total transformation between source type
From
and target typeTo
.- From
type of input value
- To
type of output value
- trait TransformerF[F[+_], From, To] extends AnyRef
Type class expressing partial transformation between source type
From
and target typeTo
, wrapping transformation result in type constructorF
.Type class expressing partial transformation between source type
From
and target typeTo
, wrapping transformation result in type constructorF
.Useful for validated transformations, where result type is wrapped in Option, Either, Validated, etc...
- F
wrapper type constructor
- From
type of input value
- To
type of output value
- trait TransformerFSupport[F[+_]] extends AnyRef
Type class supporting lifted transformers.
Type class supporting lifted transformers.
In order to create lifted transformation from
A
toF[B]
, we need these few operations to be implemented for specificF
wrapper type.- F
wrapper type constructor
- See also
TransformerFSupport.TransformerFOptionSupport for implementation for
Option
TransformerFSupport.TransformerFEitherErrorAccumulatingSupport for implementation for
Either
Value Members
- object Patcher
- object Transformer
- object TransformerF
- object TransformerFSupport