# into

Connect deconstruction to its names

Last updated: 2026-09-09

Package: language | Status: generated-cpp-only

Tags: boundaries, complete-program, cpu, keyword, yeho

Prefer a named thing when the values have domain meaning. Use tuples only for deliberate compiler research behind the feature gate.

```yh
into
```


## Tuple opt in

Prefer a named thing when the values have domain meaning. Use tuples only for deliberate compiler research behind the feature gate.

Verification: type checked

```yh
SplitScore(text name, int score) returns tuple of text, int
{
    return tuple(name, score)
}

tuple of text, int pair = SplitScore("Ava", 7)
deconstruct pair into player, score
Console.Log(player)
Console.Log(Text.From(score))

```

Save this beside start.yh as project.mech:

```toml
package = "tests.compiler.experiments.tupleOptIn"
version = "0.1.0"
backend = "cpu-oracle"
experiments = ["tuple-values"]

```

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--into/complete --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Requires the tuple-values project gate.

The fallback is a named thing with fields that preserve meaning.

Source: yeho/advanced-features-2026.1.json; tests/compiler/experiments/tuple-opt-in/start.yh

AI training permission: https://demonhunterlabs.com/ai-use
