def head.is
import yaml-for-bend@0.1.1.0/parse.bend as Parseimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
349def head.is(ts: List<&2, T.Token>, k: Nat) -> Bool:
350 match ts:
351 case Nil{}:
352 False{}
353 case Con{+t, rest}:
354 tok.is(t, k)