All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pipez.PipeSemiautoSupport.scala Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
package pipez

import scala.language.experimental.macros

/** Mix-in providing `derive` method for semiautomatic `Pipe` derivation without recursion and default config */
trait PipeSemiautoSupport[Pipe[_, _]] {

  /** Derives `Pipe[In, Out]` using default settings */
  def derive[In, Out](implicit
    pipeDerivation: PipeDerivation[Pipe]
  ): Pipe[In, Out] = macro pipez.internal.Macro.deriveDefault[Pipe, In, Out]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy