scala.Precise.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-library_3 Show documentation
Show all versions of scala3-library_3 Show documentation
scala3-library-bootstrapped
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