Cli.slot_shape: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7080-7084 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7080&end_line=7084 import Base def slot_shape(found: Maybe<&2, Slot>) -> String: match found: case Some{Slot{k, hidden, required, many, rest, ph, comp}}: String.concat([Nat.show(k), " ", Bool.pick(String, rest, "1", "0")]) case None{}: "0 0" Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.show https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.concat https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Slot