Render.tree: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/render.bend as Render Lines 171-176 of cswap-bend-cli@0.1.0.0/render.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/render.bend&start_line=171&end_line=176 import Base import cswap-bend-cli@0.1.0.0/clock.bend as Clock def tree(ls: List<&2, String>, +last: Nat, +i: Nat) -> List<&2, String>: match ls: case Nil{}: [] case Con{h, t}: (Clock.sel.s(Nat.is_eq(i, last), "\u{2514} ", "\u{251C} ") ++ h) <> tree(t, last, 1n+i) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.is_eq 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=cswap-bend-cli@0.1.0.0/clock.bend&name=sel.s