Transformation

smithy4s.Transformation
See theTransformation companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

trait AbsorbError[F[_, _], G[_]]

A transformation that turns a bifunctor algebra into a monofunctor algebra by absorbing known errors in a generic error channel that handles throwables.

A transformation that turns a bifunctor algebra into a monofunctor algebra by absorbing known errors in a generic error channel that handles throwables.

Attributes

Supertypes
class Object
trait Matchable
class Any
class PartiallyApplied[Input](input: Input)

Partially applied transformation, can be used to create methods/extensions that allow for a reasonable UX.

Partially applied transformation, can be used to create methods/extensions that allow for a reasonable UX.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait SurfaceError[F[_], G[_, _]]

A transformation that turns a monofunctor algebra into a bifunctor algebra by lifting the known errors in the returned types of the operations of the algebra.

A transformation that turns a monofunctor algebra into a bifunctor algebra by lifting the known errors in the returned types of the operations of the algebra.

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def of[Input](input: Input): PartiallyApplied[Input]

Implicits

Implicits

implicit def functorK5_poly1_transformation[Alg[_[_, _, _, _, _]] : FunctorK5, F[_], G[_]]: Transformation[PolyFunction[F, G], FunctorAlgebra[Alg, F], FunctorAlgebra[Alg, G]]
implicit def functorK5_poly2_transformation[Alg[_[_, _, _, _, _]] : FunctorK5, F[_, _], G[_, _]]: Transformation[PolyFunction2[F, G], BiFunctorAlgebra[Alg, F], BiFunctorAlgebra[Alg, G]]
implicit def service_absorbError_transformation[Alg[_[_, _, _, _, _]], F[_, _], G[_]](implicit service: Service[Alg]): Transformation[AbsorbError[F, G], BiFunctorAlgebra[Alg, F], FunctorAlgebra[Alg, G]]
implicit def service_surfaceError_transformation[Alg[_[_, _, _, _, _]], F[_], G[_, _]](implicit service: Service[Alg]): Transformation[SurfaceError[F, G], FunctorAlgebra[Alg, F], BiFunctorAlgebra[Alg, G]]