oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/book/clos1.typ
352 bytes, 1 run
created by r1870400018:63660, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // oracle: levels 2 4 |
| 2 | #set page(width: 220pt, height: 260pt, margin: 20pt) |
| 3 | #let wrap(..args, body) = block(..args.named(), body) |
| 4 | #let mk(prefix) = (x) => [#prefix#x] |
| 5 | #let f = mk("p-") |
| 6 | #f(3) #f[4] |
| 7 | #wrap(fill: red, inset: 4pt)[hi] |
| 8 | #let deco = (it) => it |
| 9 | #show: deco |
| 10 | #let apply(fn, ..xs) = xs.pos().map(fn).map(str).join(", ") |
| 11 | #apply(x => x * 2, 1, 2, 3) |