def bind_all
import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalkimport Base
508# one binding per name, at the let's end
509def bind_all(ns: List<&2, String>, +line: U32, +col: U32, +acc: List<&2, Bind>) -> List<&2, Bind>:
510 match ns:
511 case Nil{}:
512 acc
513 case Con{+nm, rest}:
514 bind_all(rest, line, col, Bind{nm, line, col} <> acc)