ad opens a sermo endpoint and materializes the stream with an explicit conversio target.
Syntax: ad 'runtime:echo' (payload) ↦ textus
Category
endpoint
Related
Examples
examples/corpus/ad/sermo-conversio.fab (canonical · keyword)
ad opens a sermo endpoint and materializes the stream with an explicit conversio target.
# Exemplar: expression `ad` with `sermo ↦ textus` materialization.
#
# Proves the conversio returns the echoed opener text as a `textus` value.
# The runtime:echo backend echoes the opener back as a single textus frame;
# `↦ textus` materializes it. The exemplar asserts equality.
incipit {
fixum textus t ← ad 'runtime:echo' ("salve, munde") ↦ textus
adfirma t ≡ "salve, munde"
}Expected output: