def problem

ezx@1.11.0.0 · src/ledger/manifest.bend:231

import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest
import Base

231# the first problem with the document, or "" when there is none. A syntax error
232# comes first, since a section that did not parse cannot be judged.
233def problem(+bad: String, +miss: String) -> String:
234  Bool.pick(String, String.is_empty(bad),
235    Bool.pick(String, String.is_empty(miss), "", miss ++ " has no hash"),
236    bad)

Uses (4)

Used by (1)