def v6.go

bend-kit-netip@0.1.0.0 · netip.bend:187

import bend-kit-netip@0.1.0.0/netip.bend as Netip
import Base

187# h: the current segment; t: the segments after it.
188def v6.go(t: List<&2, String>, h: String, st: Maybe<&2, Walk>) -> Maybe<&2, Walk>:
189  match t:
190    case Nil{}:
191      v6.last(st, h)
192    case Con{h2, t2}:
193      v6.go(t2, h2, v6.mid(st, h))

Uses (6)

Used by (1)