scala.PolyFunction.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
/** Marker trait for polymorphic function types.
*
* This is the only trait that can be refined with a polymorphic method,
* as long as that method is called `apply`, e.g.:
* PolyFunction { def apply[T_1, ..., T_M](x_1: P_1, ..., x_N: P_N): R }
* This type will be erased to FunctionN.
*/
trait PolyFunction
© 2015 - 2025 Weber Informatics LLC | Privacy Policy