def next
import emerging-ezjson@1.3.0.0/src/pull.bend as Pullimport Base
1635# the next event. A comma or a colon is consumed on the way to the event
1636# after it. After the root value, further calls are the end, or an error
1637# when another value follows
1638def next(cur: Cur) -> (Ev & Cur):
1639 Cur{rest, stack, done, bad} = cur
1640 next.open(rest, stack, done, bad)