Pull.next.use: def of emerging-ezjson@1.3.0.0 Import: import emerging-ezjson@1.3.0.0/src/pull.bend as Pull Lines 1584-1597 of emerging-ezjson@1.3.0.0/src/pull.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&start_line=1584&end_line=1597 import Base # an event from a step. A skip that surfaces here is a broken reader. An # error always comes with the failed cursor, and an end with an ended one, so # both stick: the steps build them that way, and this says so where it is used def next.use(got: (Stop & Cur)) -> (Ev & Cur): (stop, cur) = got match stop: case SEv{EErr{}}: (EErr{}, Cur{"", Nil{}, False{}, True{}}) case SEv{EEnd{}}: (EEnd{}, next.ended(cur)) case SEv{ev}: (ev, cur) case SSkip{}: (EErr{}, Cur{"", Nil{}, False{}, True{}}) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=Cur https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=Ev https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=Stop https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=next.ended