# list

list in a complete program.

Last updated: 2026-09-09

Package: runtime | Status: experimental

Tags: compute, cpu, gpu, language, yeho

CPU and GPU data processing with explicit ownership and completion.

```yh
list
```


## Complete lists example

Use a list when order and duplicates matter.

Verification: type checked

```yh
list of text inventory = ["map", "torch"]
inventory.Add("key")
for item in inventory { Console.Log(item) }

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.word__list"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/word--list/complete --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```




Source: yeho/docs/runtime/execution-boundaries.md; docs/runtime/metal-compute-v1.md

AI training permission: https://demonhunterlabs.com/ai-use
