def head_bind_kind
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
118# the type of the next binder
119def head_bind_kind(binds: List<&2, Bind.Bind>) -> U32:
120 match binds:
121 case Nil{}:
122 5
123 case Con{Bind.Bind{n, l, c, k, note}, rest}:
124 of_kind(k, n)