language.operators · operator ·

[]

Read or update a collection element by its index or key.

cpulanguageoperatorstructureyeho

A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.

[]

Status: documented

Use []

Read or update a collection element by its index or key.

cpu · language · operator · type checked

list of int scores = [10, 20]
scores[0] = 30
Console.Log(Text.From(scores[0]))
project.mech
manifestVersion = "2"
package = "api.example.operator__symbol_4f53cd"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Notes and source

demonhunterlabs/app/lib/yeho-language-reference.ts