mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 12:14:43 +00:00
4 lines
294 B
Python
4 lines
294 B
Python
.cache: |T <: Proc|(user_function: T) -> T
|
|
.lru_cache: (|T <: Proc|(user_function: T) -> T) and |T <: Proc|(maxsize := Int, typed := Bool) -> (T -> T)
|
|
.total_ordering: (cls: ClassType) -> ClassType
|
|
.reduce: |T: Type|(function!: T => T, iterable: Iterable(T), initializer := T or NoneType) -> T
|