def v6.gap
import bend-kit-netip@0.1.0.0/netip.bend as Netipimport Base
125# An empty inner segment is the one "::".
126def v6.gap(w: Walk) -> Maybe<&2, Walk>:
127 match w:
128 case NoGap{pre}:
129 Some{Gap{pre, Nil{}}}
130 case Gap{pre, post}:
131 None{}