Skip to content

docs: add MutSpan<T> to primitives type table#34

Open
DarlingtonDeveloper wants to merge 1 commit into
vercel-labs:mainfrom
DarlingtonDeveloper:docs/primitives-add-mutspan
Open

docs: add MutSpan<T> to primitives type table#34
DarlingtonDeveloper wants to merge 1 commit into
vercel-labs:mainfrom
DarlingtonDeveloper:docs/primitives-add-mutspan

Conversation

@DarlingtonDeveloper
Copy link
Copy Markdown

Summary

  • Adds MutSpan<T> to the Memory And Ownership table in primitives.md
  • Clarifies Span<T> as "read-only" to contrast with the mutable variant

Context

MutSpan<T> is used throughout the docs (learn-zero.md, language-reference.md, modules/mem.md, modules/fs.md) and in examples on the primitives page itself, but was missing from the canonical type table. This makes it harder for new users to find its definition when scanning the reference.

Test plan

  • npm run docs:test passes

🤖 Generated with Claude Code

MutSpan<T> is used throughout the docs and examples but was missing from
the canonical type table on the primitives page. Also clarifies Span<T>
as read-only to contrast with the mutable variant.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

@DarlingtonDeveloper is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

gke0op added a commit to gke0op/zero that referenced this pull request May 18, 2026
- Add MutSpan<T> to Memory And Ownership primitives table (vercel-labs#34)
- Add expected zero --version output to getting started (vercel-labs#33)
- Add PATH persistence note for shell profile (vercel-labs#33)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant