def norm.go

bolt@1.27.0.0 · src/rules/imports.bend:24

import bolt@1.27.0.0/src/rules/imports.bend as Imports
import 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))

Uses (4)

Used by (1)