def Yaml.close

bend-kube-runtime@0.2.0.0 · src/yaml.bend:782

import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml
import Base

782def Yaml.close(fuel: Nat, +st: List<&2, YFrame>, +i: U32, +dash: Bool, ends: Bool) -> List<&2, YFrame>:
783  match fuel ends:
784    case 1n+f True{}:
785      Yaml.close(f, Yaml.pop(st), i, dash, Yaml.ends(Yaml.pop(st), i, dash))
786    case _ _:
787      st

Uses (7)

Used by (1)