Files
marqdo/public/stdlib/table.mq.md
T
cflmyandCursor ac3f0633cd refactor(tests): prefer link-index in structure collection golds
Move collection-* structure fixtures to [key](base), and modernize
public/stdlib table/fs/time demos with bracket-marked library calls.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:03:03 +08:00

550 B


title: lib/table — collections description: put, append, and map helpers (code-as-docs pilot) import table:lib/table.mq.md

main

Prefer table.put for element updates (at= text key, 1-based int, or list path). Read with link-index get. Use json for parse/stringify only.

h = [table.put] in=None at="Authorization" value="Bearer-demo"

xs =

v
a
b

xs = [table.put] in=xs at=1 value="A" n = [table.rows] xs=xs

打印 内容=Authorization 打印 内容=1 打印 内容=n