Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/plugin/transition.typ

479 bytes, 1 run

created by r1870400018:73527, 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// `plugin.transition` makes a new plugin from the state after a call; the old one is untouched, and the same
2// call on each answers by its own state, never from the other's memoised result.
3#let n(b) = array(b).at(0)
4#let p = plugin("counter.wasm")
5#let one = plugin.transition(p.inc)
6#let two = plugin.transition(one.inc)
7#let again = plugin.transition(p.inc)
8#metadata((n(p.get()), n(one.get()), n(two.get()), n(p.get()), n(again.get()), n(two.get()))) <probe>
9#n(two.get())