Cli.resolve_positions: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3884-3892 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3884&end_line=3892 import Base def resolve_positions(slots: List<&2, ArgInfo>, +tokens: List<&2, String>, +h: Host) -> FieldBuild: match slots: case Nil{}: Built{[]} case +info <> +tail: +amount = position_take_count(info_kind(info), tail, tokens) combine_build( resolve_pos(info, List.take(&2, String, tokens, amount), h), resolve_positions(tail, List.drop(&2, String, tokens, amount), h)) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.drop https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.take https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ArgInfo https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=FieldBuild https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Host https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=combine_build https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=info_kind https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=position_take_count https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=resolve_pos