def css

gralha-css-style@0.1.0.1 · css.bend:22

import gralha-css-style@0.1.0.1/css.bend as Css
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-xml-doc@0.1.0.1/xml.bend as XML

22def css(s: String, attrs: List<&2, XML.Attr>) -> List<&2, XML.Attr>:
23  match s:
24    case SNil{}: attrs
25    case SCon{c, t}: css.more(U.until(SCon{c, t}, 59, ""), attrs, rest => as => css(rest, as))

Uses (5)

Used by (1)