~/bend-docscommunity

traversal_loop.bend checks

raw source on the hub · import stelliferous@0.0.4.0/traversal_loop.bend as Traversal_loop

One sequential traversal for affine runtime owners and reusable proof states. The step is a compile-time template: no closure allocation in the loop.

1 import
import Base

Templates

template run source · line 5 · raw

@-State:Type -> @-step:(@_:State -> State) -> @count:Nat -> @state:State -> State