def close.arr
import emerging-ezjson@1.3.0.0/src/pull.bend as Pullimport Base
394# a `]`. Empty, or just after a value
395def close.arr(stack: List<&2, Frame>, goal: Goal) -> St:
396 match stack:
397 case Con{FArr{SVal{}, True{}}, frames}:
398 close.out(EEndArr{}, frames, goal)
399 case Con{FArr{SCom{}, fresh}, frames}:
400 close.out(EEndArr{}, frames, goal)
401 case other:
402 err.st(goal)