def Yaml.item.seq.go
import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yamlimport Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
855# A new item: an item still waiting for its block got none, so it is null.
856def Yaml.item.seq.go(st: List<&2, YFrame>, +i: U32, here: Bool) -> List<&2, YFrame>:
857 match st here:
858 case Con{YSeq{j, xs, Some{a}}, t} True{}:
859 YSeq{j, Yaml.wrap(a, J.JNull{}) <> xs, None{}} <> t
860 case x True{}:
861 x
862 case x False{}:
863 YSeq{i, Nil{}, None{}} <> x