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>
347 B
347 B
title: lib/text — strings description: Trim, split, join wrappers
lib/text.mq.md
main
Import lib/text.mq.md. Functions: str_trim(s), str_split(s, sep), str_join(xs, sep).
*t = > text.str_trim s= marqdo *
print text=
t
parts = > text.str_split s=a,b,c sep=,
j = > text.str_join xs=parts sep=-
print text=
j