Poll.earliest_reset: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/poll.bend as Poll Lines 150-156 of cswap-bend-cli@0.1.0.0/poll.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&start_line=150&end_line=156 import Base # The earliest reset of any relevant window (past or future): trust ends there. def earliest_reset(ws: List<&2, Win>, acc: Maybe<&2, U32>) -> Maybe<&2, U32>: match ws: case Nil{}: acc case Con{Win{p, r}, t}: earliest_reset(t, any.step(r, acc)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&name=Win https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&name=any.step