def base.go

bolt@1.27.0.0 · src/paths.bend:8

import bolt@1.27.0.0/src/paths.bend as Paths
import Base

8# the last of the segments, or the one before when there are none
9def base.go(segs: List<&2, String>, last: String) -> String:
10  match segs:
11    case Nil{}:
12      last
13    case Con{s, rest}:
14      base.go(rest, s)

Uses (2)

Used by (1)