Sim.run: def of bend-lawful-stdlib@0.1.0.0 Import: import bend-lawful-stdlib@0.1.0.0/src/sim.bend as Sim Lines 49-54 of bend-lawful-stdlib@0.1.0.0/src/sim.bend: https://jend.leeeet.dev/read.txt?path=bend-lawful-stdlib@0.1.0.0/src/sim.bend&start_line=49&end_line=54 import Base import bend-lawful-stdlib@0.1.0.0/src/class.bend as C def run(~P: Data, ~g: C.Group

, ~F: P -> P, n: Nat, s: State

) -> State

: match n: case 0n: s case 1n+k: run(~P, ~g, ~F, k, step(~P, ~g, ~F, s)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/class.bend&name=Group https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/sim.bend&name=State https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/sim.bend&name=step