variandum
Translation status: English reader-locale proof. Code fences render through the en pipeline; prose is canonical Latin.
Awaits a promissum and binds a mutable name.
Aliases: await_var
Syntax: variandum T name ← future
Category#
async
Related#
Examples#
radix/corpus/variandum/variandum.fab (canonical · keyword)#
Awaits a promissum and binds a mutable name.
# =============================================================================
# variandum — Await-bind mutable
# =============================================================================
#
# What this teaches:
# • Await a `promissum<T>` and bind the success value mutably.
#
# See also: figendum, tacebit, fiet, promissum
# =============================================================================
functio responde() fiet → numerus { redde 3 }
incipiet { variandum numerus responsum ← responde() responsum ← responsum + 1 nota responsum }