Transformer

io.github.arainko.ducktape.Transformer$
See theTransformer companion trait

Attributes

Companion:
trait
Source:
Transformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object Debug

Attributes

Source:
Transformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Debug.type

Attributes

Companion:
trait
Source:
Transformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ForCoproduct[Source, Dest] extends Transformer[Source, Dest]

Attributes

Companion:
object
Source:
Transformer.scala
Graph
Supertypes
trait Transformer[Source, Dest]
class Object
trait Matchable
class Any
object ForProduct

Attributes

Companion:
trait
Source:
Transformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ForProduct[Source, Dest] extends Transformer[Source, Dest]

Attributes

Companion:
object
Source:
Transformer.scala
Graph
Supertypes
trait Transformer[Source, Dest]
class Object
trait Matchable
class Any
object FromAnyVal

Attributes

Companion:
trait
Source:
Transformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait FromAnyVal[Source, Dest] extends Transformer[Source, Dest]

Attributes

Companion:
object
Source:
Transformer.scala
Graph
Supertypes
trait Transformer[Source, Dest]
class Object
trait Matchable
class Any
final class Identity[Source, Dest >: Source] extends Transformer[Source, Dest]

Attributes

Source:
Transformer.scala
Graph
Supertypes
trait Transformer[Source, Dest]
class Object
trait Matchable
class Any
object ToAnyVal

Attributes

Companion:
trait
Source:
Transformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ToAnyVal[Source, Dest] extends Transformer[Source, Dest]

Attributes

Companion:
object
Source:
Transformer.scala
Graph
Supertypes
trait Transformer[Source, Dest]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[Source, Dest](using transformer: Transformer[Source, Dest]): Transformer[Source, Dest]

Attributes

Source:
Transformer.scala
def define[Source, Dest]: DefinitionBuilder[Source, Dest]

Attributes

Source:
Transformer.scala
def defineVia[Source]: PartiallyApplied[Source]

Attributes

Source:
Transformer.scala

Deprecated methods

inline def forCoproducts[Source, Dest](using SumOf[Source], SumOf[Dest]): ForCoproduct[Source, Dest]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenCoproducts\' instead
Source:
Transformer.scala
inline def forProducts[Source, Dest](using ProductOf[Source], ProductOf[Dest]): ForProduct[Source, Dest]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenProducts\' instead
Source:
Transformer.scala
inline def fromAnyVal[Source <: AnyVal, Dest]: FromAnyVal[Source, Dest]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenUnwrappedWrapped\' instead
Source:
Transformer.scala
final def given_Identity_Source_Dest[Source, Dest >: Source]: Identity[Source, Dest]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.identity\' instead
Source:
Transformer.scala
final def given_Transformer_Either_Either[A1, A2, B1, B2](using Transformer[A1, A2], Transformer[B1, B2]): Transformer[Either[A1, B1], Either[A2, B2]]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenEithers\' instead
Source:
Transformer.scala
final def given_Transformer_Option_Option[Source, Dest](using Transformer[Source, Dest]): Transformer[Option[Source], Option[Dest]]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenOptions\' instead
Source:
Transformer.scala
final def given_Transformer_SourceCollection_DestCollection[Source, Dest, SourceCollection <: (Iterable), DestCollection <: (Iterable)](using trans: Transformer[Source, Dest], factory: Factory[Dest, DestCollection[Dest]]): Transformer[SourceCollection[Source], DestCollection[Dest]]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenCollections\' instead
Source:
Transformer.scala
final def given_Transformer_Source_Option[Source, Dest](using Transformer[Source, Dest]): Transformer[Source, Option[Dest]]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenNonOptionOption\' instead
Source:
Transformer.scala
inline def toAnyVal[Source, Dest <: AnyVal]: ToAnyVal[Source, Dest]

Attributes

Deprecated
[Since version 0.1.5] Use \'Transformer.betweenWrappedUnwrapped\' instead
Source:
Transformer.scala

Givens

Givens

given betweenCollections[Source, Dest, SourceCollection <: (Iterable), DestCollection <: (Iterable)](using transformer: Transformer[Source, Dest], factory: Factory[Dest, DestCollection[Dest]]): Transformer[SourceCollection[Source], DestCollection[Dest]]

Attributes

Source:
Transformer.scala
given betweenEithers[Source1, Source2, Dest1, Dest2](using Transformer[Source1, Source2], Transformer[Dest1, Dest2]): Transformer[Either[Source1, Dest1], Either[Source2, Dest2]]

Attributes

Source:
Transformer.scala
given betweenMaps[SourceKey, SourceValue, DestKey, DestValue, SourceMap <: (Map), DestMap <: (Map)](using keyTransformer: Transformer[SourceKey, DestKey], valueTransformer: Transformer[SourceValue, DestValue], factory: Factory[(DestKey, DestValue), DestMap[DestKey, DestValue]]): Transformer[SourceMap[SourceKey, SourceValue], DestMap[DestKey, DestValue]]

Attributes

Source:
Transformer.scala
given betweenNonOptionOption[Source, Dest](using Transformer[Source, Dest]): Transformer[Source, Option[Dest]]

Attributes

Source:
Transformer.scala
given betweenOptions[Source, Dest](using Transformer[Source, Dest]): Transformer[Option[Source], Option[Dest]]

Attributes

Source:
Transformer.scala
given identity[Source, Dest >: Source]: Identity[Source, Dest]

Attributes

Source:
Transformer.scala

Inherited givens

inline given betweenCoproducts[Source, Dest](using SumOf[Source], SumOf[Dest]): ForCoproduct[Source, Dest]

Attributes

Inherited from:
LowPriorityTransformerInstances
Source:
Transformer.scala
inline given betweenProducts[Source, Dest](using ProductOf[Source], ProductOf[Dest]): ForProduct[Source, Dest]

Attributes

Inherited from:
LowPriorityTransformerInstances
Source:
Transformer.scala
inline given betweenUnwrappedWrapped[Source, Dest](using Dest <:< AnyVal, Dest <:< Product): ToAnyVal[Source, Dest]

Attributes

Inherited from:
LowPriorityTransformerInstances
Source:
Transformer.scala
inline given betweenWrappedUnwrapped[Source, Dest](using Source <:< AnyVal, Source <:< Product): FromAnyVal[Source, Dest]

Attributes

Inherited from:
LowPriorityTransformerInstances
Source:
Transformer.scala

Exports

Defined exports

Exported from fallible
final type Fallible = [F[x], Source, Dest] =>> FallibleTransformer[F, Source, Dest]
Exported from fallible

Attributes

Source:
Transformer.scala
final val Mode: Mode.type
Exported from fallible
final type Mode = [F[x]] =>> Mode[F]
Exported from fallible

Attributes

Source:
Transformer.scala