Emit.scalar.lead: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/emit.bend as Emit Lines 148-158 of yaml-for-bend@0.1.1.0/emit.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/emit.bend&start_line=148&end_line=158 import Base # A scalar after its key gets a space; at a line's start, indentation. def scalar.lead(p: Pos, +ind: Nat) -> String: match p: case Line{}: spaces(ind) case Dash{}: "" case Colon{}: " " case More{}: spaces(ind) Uses (4): 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=yaml-for-bend@0.1.1.0/emit.bend&name=Pos https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/emit.bend&name=spaces