Yamlw.pre: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/yamlw.bend as Yamlw Lines 41-47 of cswap-bend-cli@0.1.0.0/fmt/yamlw.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/yamlw.bend&start_line=41&end_line=47 import Base # Before a container's first line: under a key it starts a new line. def pre(+k: Ctx, +d: Nat) -> String: match k: case CKey{}: "\n" ++ pad(Nat.add(d, 2n)) case _: "" Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add 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/fmt/yamlw.bend&name=Ctx https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/yamlw.bend&name=pad