def Yaml.rev_items

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

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

676def Yaml.rev_items(xs: List<&2, J.Json>, acc: J.Json) -> J.Json:
677  match xs:
678    case Nil{}:
679      acc
680    case Con{h, t}:
681      Yaml.rev_items(t, J.JCons{h, acc})

Uses (2)

Used by (1)