等返
Translation status: 繁體中文 reader-locale proof. Term names and code fences follow the zh-Hant pack; supporting prose may still be English.
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 }