Function

Standard library class internal.core.Function View source
class Function
@tuple
class Function[T, TR]
Fields 2
T type
TR type
Constructors 3
__new__
@pure @derives @llvm
__new__()
Added by internal.core
ret ptr null
__new__
@pure @overload @llvm
__new__(what: Ptr[u8])
ret ptr %what
__new__
@overload
__new__(what: Function[T, TR])
Special methods 4
__raw__
@pure @llvm
__raw__(self)
ret ptr %self
__repr__
__repr__(self)
__call_internal__
@__generated__ @llvm
__call_internal__(self: Function[T, TR], args: T)
noop  # compiler will populate this one
__call__
__call__(self, *args)