Files
marqdo/public/stdlib/table.mq.md
T
cflmyandCursor 1f23e2ed93 Add module namespaces and harden L1/agent after the import redesign.
Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:28:32 +08:00

25 lines
350 B
Markdown

---
title: lib/table — lists
description: Row count and index helpers
> lib/table.mq.md
---
# main
Import lib/table.mq.md. Functions: rows(xs), row_at(xs, i). Single-column Markdown tables are lists at runtime.
`xs` =
| v |
|---|
| a |
| b |
*`n` = > table.rows xs=`xs`*
> print text=`n`
*`r` = > table.row_at xs=`xs` i=0*
> print text=`r`