def v6.last.seg
import bend-kit-netip@0.1.0.0/netip.bend as Netipimport Base
173def v6.last.seg(h: String, w: Walk) -> Maybe<&2, Walk>:
174 match h:
175 case SNil{}:
176 v6.trail(w)
177 case SCon{c, t}:
178 v6.last.text(w, SCon{c, t})