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

scala.Precise.scala Maven / Gradle / Ivy

There is a newer version: 3.6.4-RC1-bin-20241220-0bfa1af-NIGHTLY
Show newest version
package scala
import annotation.experimental
import language.experimental.erasedDefinitions

/** A type class-like trait intended as a context bound for type variables.
 *  If we have `[X: Precise]`, instances of the type variable `X` are inferred
 *  in precise mode. This means that singleton types and union types are not
 *  widened.
 */
@experimental erased trait Precise:
  type Self




© 2015 - 2025 Weber Informatics LLC | Privacy Policy