def ids.of
import ezx@1.11.0.0/src/git/git.bend as Gitimport Base
562def ids.of(ps: List<&2, String>) -> Maybe<&2, List<&2, Id>>:
563 match ps:
564 case Nil{}:
565 Some{[]}
566 case Con{+h, t}:
567 ids.put(String.is_empty(h), id.chars(h), digits(h), h, ids.of(t))