Css.css.parts: def of gralha-css-style@0.1.0.1 Import: import gralha-css-style@0.1.0.1/css.bend as Css Lines 97-104 of gralha-css-style@0.1.0.1/css.bend: https://jend.leeeet.dev/read.txt?path=gralha-css-style@0.1.0.1/css.bend&start_line=97&end_line=104 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def css.parts(+s: String, +rel: U32, +acc: List<&2, CSSStep>) -> List<&2, CSSStep>: match s: case SNil{}: acc case SCon{Chr{c}, t}: U.branch(List<&2, CSSStep>, U.space(c), _ => css.parts(U.trim(t), rel, acc), _ => U.branch(List<&2, CSSStep>, U32.is_eq(c, 62) || U32.is_eq(c, 43) || U32.is_eq(c, 126), _ => css.parts(U.trim(t), U.choose(U32, U32.is_eq(c, 62), 2, U.choose(U32, U32.is_eq(c, 43), 3, 4)), acc), _ => css.parts.scan(css.scan(s, 0), rel, acc, rest => steps => css.parts(rest, 1, steps)))) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=gralha-css-style@0.1.0.1/css.bend&name=CSSStep https://jend.leeeet.dev/definition.txt?path=gralha-css-style@0.1.0.1/css.bend&name=css.parts.scan https://jend.leeeet.dev/definition.txt?path=gralha-css-style@0.1.0.1/css.bend&name=css.scan https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=branch https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=choose https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=space https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=trim