Package

io.scalaland

chimney

Permalink

package chimney

Visibility
  1. Public
  2. All

Type Members

  1. trait Patcher[T, Patch] extends AnyRef

    Permalink

    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

  2. trait Transformer[From, To] extends AnyRef

    Permalink

    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.

    From

    type of input value

    To

    type of output value

  3. trait TransformerF[F[+_], From, To] extends AnyRef

    Permalink

    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...

    F

    wrapper type constructor

    From

    type of input value

    To

    type of output value

    See also

    io.scalaland.chimney.TransformerFSupport

  4. trait TransformerFSupport[F[+_]] extends AnyRef

    Permalink

    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.

    F

    wrapper type constructor

    See also

    TransformerFSupport.TransformerFEitherErrorAccumulatingSupport for implementation for Either

    TransformerFSupport.TransformerFOptionSupport for implementation for Option

Value Members

  1. object Patcher

    Permalink
  2. object Transformer

    Permalink
  3. object TransformerF

    Permalink
  4. object TransformerFSupport

    Permalink
  5. package dsl

    Permalink

    Main object to import in order to use Chimney's features

  6. package internal

    Permalink

Ungrouped