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

derevo.package.scala Maven / Gradle / Ivy

import scala.annotation.StaticAnnotation

package derevo {
  class derive(instances: Any*) extends StaticAnnotation {
    def macroTransform(annottees: Any*): Any = macro Derevo.deriveMacro
  }

  class delegating(to: String, args: Any*) extends StaticAnnotation
  class phantom                            extends StaticAnnotation

  sealed trait InstanceDef
  trait Derivation[TC[_]]                  extends InstanceDef
  trait DerivationK1[TC[_[_]]]             extends InstanceDef
  trait DerivationK2[TC[_[_[_]]]]          extends InstanceDef
  trait PolyDerivation[FromTC[_], ToTC[_]] extends InstanceDef
}

package object derevo {
  type InjectInstancesHere >: Null
  def insertInstancesHere(): InjectInstancesHere = null
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy