Rep.render: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/rep.bend as Rep Lines 107-113 of bend-toon-codec@0.1.0.0/src/rep.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/rep.bend&start_line=107&end_line=113 import Base # Join lines with LF; no trailing newline. def render(+size: U32, +ls: List<&2, Ln>) -> String: match ls: case Nil{}: "" case Con{l, rest}: render.line(size, l) ++ render.tail(size, rest) 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/rep.bend&name=Ln https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/rep.bend&name=render.line https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/rep.bend&name=render.tail