def find_short_for_head
import cli@0.2.0.0/cli.bend as Cliimport Base
3327def find_short_for_head(chars: String, keys: List<&2, OptKey>) ->
3328 Maybe<&2, OptFound>:
3329 match chars:
3330 case SNil{}: None{}
3331 case SCon{head, tail}:
3332 key_lookup(keys, String.append("-", Char.show(head)))