Files
marqdo/man-test/lib/math.mq.md
T
cflmyandCursor ecc92f473a Unify frontmatter imports as import bind:target and drop > imports.
`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>
2026-08-13 10:03:21 +08:00

382 B


title: 手工构造的测试样例 description: AI禁止更改 import math:lib/math.mq.md

main

f =


x^2 + 2

f =


x^2 - 2

*ty = > type f *

print text=ty

*df = > math.diff formula=f var=x *

print text=df

*roots = > math.solve formula=f var=x *

print text=roots

*y = > math.eval formula=f var=x value=3 *

print text=y