fiunt
Translation status: 简体中文 reader-locale proof. Code fences render through the zh-Hans pipeline; prose is canonical Latin.
Callable posture for synchronous stream (generator) functions.
Aliases: generator
Syntax: functio name(…) fiunt → T
Category#
async
Related#
Examples#
radix/corpus/fiunt/fiunt.fab (canonical · keyword)#
Callable posture for synchronous stream (generator) functions.
# =============================================================================
# fiunt — Synchronous stream callable posture
# =============================================================================
#
# What this teaches:
# • Preferred stream posture: `fiunt → T` yields `T` items.
# • Yield with statement-initial `cede value` inside the body.
#
# Common mistakes:
# • Using `@ cursor` only when teaching preferred morphology — prefer `fiunt`.
#
# See also: cursor, cede, fient
# =============================================================================
# GRAMMAR:
# callablePosture :← 'fiunt'
# yieldStmt :← 'cede' expr
#
# EXPECTED OUTPUT:
# [1, 2]
functio stream() fiunt → numerus { cede 1 cede 2 }
incipit { nota stream() }