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

net.scalax.simple.adt.ApplyFactory.scala Maven / Gradle / Ivy

The newest version!
package net.scalax.simple.adt
package temp

trait ApplyFactory[N1[_] <: RuntimeNat, N2 <: RuntimeNat] {
  type NatModelType            = ADTData[N2, ADTPassedFunction.type]
  type NatModelTypeFunction[D] = N1[D]

  def apply[D](d: D)(implicit v: ADTData[NatModelTypeFunction[D], ADTPassedFunction.type with ADTTypeParameterFetch.type]): NatModelType

  def typeOnly[D](implicit
    v: ADTData[NatModelTypeFunction[D], ADTPassedFunction.type with ADTTypeParameterFetch.type]
  ): ADTData[NatModelTypeFunction[D], ADTPassedFunction.type with ADTTypeParameterFetch.type] = v

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy