def v6.gap

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

import bend-kit-netip@0.1.0.0/netip.bend as Netip
import 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{}

Uses (3)

Used by (1)