reddet
Translation status: 简体中文 reader-locale proof. Code fences render through the zh-Hans pipeline; prose is canonical Latin.
Awaits a promissum and returns its success value from a fiet body.
Aliases: return_await
Syntax: reddet future
Category#
async
Related#
Examples#
radix/corpus/reddet/reddet.fab (canonical · keyword)#
Awaits a promissum and returns its success value from a fiet body.
# =============================================================================
# reddet — Await-return
# =============================================================================
#
# What this teaches:
# • Await and return from a `fiet` function only (`reddet future`).
#
# See also: figendum, tacebit, fiet, redde
# =============================================================================
functio inner() fiet → numerus { redde 9 }
functio outer() fiet → numerus { reddet inner() }
incipiet { figendum numerus v ← outer() nota v }