language · keyword ·
of
Connect a container to its element type
Use a list when order and duplicates matter.
ofStatus: experimental
Task wait until runtime
Use a list when order and duplicates matter.
cpu · complete-program · type checked
ComputeScore() returns int
{
return 7
}
task of int scoreTask = task ComputeScore()
wait until scoreTask.finished
Console.Log(Text.From(scoreTask.result))
project.mech
package = "tests.compiler.kyber.taskWaitUntilRuntime"
version = "0.1.0"
backend = "kyber"
osTarget = "windows"
archTarget = "x64"
selfContainedApp = false
Notes and source
Collections are experimental in the 2026.1 conformance edition.
Index bounds remain part of the runtime contract.
yeho/language-core.md §3.4; tests/compiler/kyber/list-runtime/start.yh