Files
marqdo/public/features/11-csv-text.mq.md
T
cflmyandCursor 8d97adc1dc docs(ext): narrate quantum/linalg and link-index public features
Add module intros and missing purpose lines for EN/ZH quantum and linalg
extensions; migrate remaining public/features footnote gets to [key](base).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:45:57 +08:00

546 B


title: Mid stdlib — csv and text description: lib/csv + thickened lib/text (Mid M4) import csv:lib/csv.mq.md import text:lib/text.mq.md

CSV cleaning with text helpers

Parse a tiny CSV, normalize a field, print — no plugins.

main

raw = "name,city\nAda,london\nBob,PARIS\n" rows = > csv.parse text=raw r0 = > at value=rows index=0 city = > text.to_upper text=city

print text=name print text=city n = > len rows

  1. n == 2

print text=mid-m4-ok

print text=mid-m4-fail