FunctionNOf

dotty.tools.dotc.core.Definitions.FunctionNOf
object FunctionNOf

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(args: List[Type], resultType: Type, isContextual: Boolean)(using Context): Type

Create a FunctionN or ContextFunctionN type applied to the arguments and result type

Create a FunctionN or ContextFunctionN type applied to the arguments and result type

Attributes

Matches a (possibly aliased) FunctionN[...] or ContextFunctionN[...]. Extracts the list of function argument types, the result type and whether function is contextual.

Matches a (possibly aliased) FunctionN[...] or ContextFunctionN[...]. Extracts the list of function argument types, the result type and whether function is contextual.

Attributes