Yamlw.sep: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/yamlw.bend as Yamlw Lines 63-69 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=63&end_line=69 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # A new line for the next field or item, none at the end of the chain. def sep(t: Json.Json, +d: Nat, rest: String) -> String: match t: case Json.JNil{}: "" case _: "\n" ++ pad(d) ++ rest Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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=pad https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json