Package-level declarations

Functions

Link copied to clipboard
inline fun repeat(times: UInt, action: (UInt) -> Unit)

Runs the action the times number of times providing arguments 0u, 1u, ..., times-1u consequently into it.

Link copied to clipboard
inline fun <Result> scope(block: () -> Result): Result

Simple function that is useful to create nested scopes. It is the same as the run function but without extension-function overload.