Cli.fish_dests: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7051-7058 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7051&end_line=7058 import Base def fish_dests(stops: List<&2, Stop>, +found: List<&2, Stop>) -> List<&2, String>: match stops: case Nil{}: Nil{} case Stop{k, words, opts, builtins, subs, slots} <> tail: List.append(&2, String, fish_dest_arms(subs, String.append(Nat.show(k), " "), words, found), fish_dests(tail, found)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append 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.append https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Stop https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=fish_dest_arms