def composed

yaml-for-bend@0.1.1.0 · compose.bend:553

import yaml-for-bend@0.1.1.0/compose.bend as Compose
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

553# A text that isn't YAML is a syntax error, before anything its values do
554# wrong.
555def composed(r: Result<&2, &2, T.Error, Co>, error: Maybe<&2, T.Error>) -> Result<&2, &2, T.Error, List<&2, Doc>>:
556  match error:
557    case None{}:
558      composed.ok(r)
559    case Some{e}:
560      Fail{e}

Uses (7)

Used by (1)