internal.types.function

Standard library module View source
class Function
@extend
class Function[T, TR]
Constructors 2
__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)
class Callable
@extend
class Callable[T, TR]
Constructors 4
__new__
__new__(fn: Function[Ptr[u8], T, TR], data: Ptr[u8])
__new__
@overload
__new__(fn: Function[Ptr[u8], T, TR], data: Partial[M, PT, K, F], T: type, TR: type, M: Literal[str], PT: type, F: type, K: type)
__new__
@overload
__new__(fn: Function[Ptr[u8], T, TR], data: Function[T, TR])
__new__
@overload
__new__(fn: Function[T, TR])
Special methods 1
__call__
__call__(self, *args)
class Partial
@extend
class Partial[M, T, K, F]
Special methods 4
__repr__
__repr__(self)
__call__
__call__(self, *args, **kwargs)
__fn_name__
@property
__fn_name__(self)
__raw__
__raw__(self)