def elements.rev

gralha-xml-doc@0.1.0.1 · xml.bend:235

import gralha-xml-doc@0.1.0.1/xml.bend as Xml
import Base

235def elements.rev(xs: List<&2, Element>, acc: List<&2, Element>) -> List<&2, Element>:
236  match xs:
237    case Nil{}: acc
238    case Con{h, t}: elements.rev(t, Con{h, acc})

Uses (2)

Used by (1)