def pos_of
import shake@0.7.0.0/src/cli.bend as Cliimport Base
404# the positionals of a spec, in order
405def pos_of(args: List<&2, Arg>) -> List<&2, Arg>:
406 match args:
407 case Nil{}:
408 Nil{}
409 case Con{+h, t}:
410 pos_of.put(pos.is(h), h, pos_of(t))