def line
import ezx@1.11.0.0/src/ledger/render.bend as Renderimport Base
8# a key line, or nothing at all when the value is empty, so an absent tag,
9# entry or bin leaves no trace
10def line(key: String, +val: String) -> String:
11 Bool.pick(String, String.is_empty(val), "", key ++ " = \"" ++ val ++ "\"\n")