> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# sequence

> Wrap one direct-Python value in a list

```python theme={null}
from grid_nexus_program import sequence
```

```python Signature theme={null}
sequence(value, n: int)
```

Wrap one direct-Python value in a list.

The staged compiler preserves `SequenceExpr` in IR, but canonical graph
lowering rejects camera collection before nodes are materialized.

Native direct Python behavior is unchanged: the helper returns `[value]`
and does not collect `n` frames.
