`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format` binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use` now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples, man-test and tests; adds a negative gold and updates view/catalog rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
299 B
299 B
title: math formula chain import math:lib/math.mq.md
main
f =
x^3
*df = > math.diff formula=f var=x *
*ty = > type df *
print text=
ty
*df2 = > math.diff formula=df var=x *
print text=
df2
*y = > math.eval formula=df var=x value=2 *
print text=
y