def at_head_bind
import bolt@1.27.0.0/src/lsp/semantic.bend as Semanticimport Base
import bolt@1.27.0.0/src/syntax/bind.bend as Bind
85# does the next binder sit at this position?
86def at_head_bind(binds: List<&2, Bind.Bind>, +line: U32, +col: U32) -> Bool:
87 match binds:
88 case Nil{}:
89 False{}
90 case Con{Bind.Bind{n, l, c, k, note}, rest}:
91 Bool.and(U32.is_eq(l, line), U32.is_eq(c, col))