العرضar

أبدا

Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.

Primitive never type for code paths that do not return normally.

Aliases: never

Syntax: أبدا

Category#

type

Examples#

radix/corpus/numquam/numquam.fab (canonical · keyword)#

Primitive never type for code paths that do not return normally.

# =============================================================================
# أبدا — Primitive never type for code paths that do not return normally.
# =============================================================================
#
# What this teaches:
#   • Diverging functions — `أبدا` marks functions like `انهر` that never return to the caller.
#   • Type-system bottom — `أبدا` is the bottom type, compatible with any return position.
#
# Common mistakes:
#   • Using أبدا for functions that might sometimes return normally — أبدا is only for code paths that never return.
#
# See also: انهر, مخرج
# =============================================================================

# أبدا — diverging return type
#
# GRAMMAR:
#   returnType :← 'أبدا'
#
# EXPECTED OUTPUT:
#   Scalar stdout smoke (see body).
#
# BACKEND:
#   Cross-ref: انهر/mori.fab.
#

fn fail(string message) → never {
    panic message
}