def norm.go
import bolt@1.27.0.0/src/rules/imports.bend as Importsimport Base
24def norm.go(segs: List<&2, String>, acc: List<&2, String>) -> List<&2, String>:
25 match segs:
26 case Nil{}:
27 List.reverse(&2, String, acc)
28 case Con{+s, rest}:
29 norm.go(rest, norm.put(s, acc))