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

superquants.RawEvidence.scala Maven / Gradle / Ivy

Go to download

Scala: Typelevel unboxed compile time dimensional analysis over tagged types. Intellij Idea compatible 100%

The newest version!
package superquants

trait RawEvidence[T]

object RawEvidence {

  private val stub = new RawEvidence[Nothing] {}
  private def dummy[T]:T = stub.asInstanceOf[T]

  implicit val rawEvidenceLong:RawEvidence[Long] = dummy
  implicit val rawEvidenceDouble:RawEvidence[Double] = dummy
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy