def relative.go

bend-lint-rules@0.2.0.0 · layout/canon_import_path.bend:50

import bend-lint-rules@0.2.0.0/layout/canon_import_path.bend as CanonImportPath
import Base

50def relative.go(from: List<&2, String>, to: List<&2, String>, same: Bool) -> List<&2, String>:
51  match from to same:
52    case Con{a, +as} Con{b, +bs} True{}:
53      relative.go(as, bs, is_same_head(as, bs))
54    case f t _:
55      ups(f, t)

Uses (5)

Used by (1)