def deps.cons
import ezx@1.11.0.0/src/ws/joint.bend as Jointimport Base
548# a dependency resolved in front of the rest, unless the rest could not be
549def deps.cons(got: Res, rest: Deps) -> Deps:
550 match got:
551 case Bad{why}:
552 Unmet{why}
553 case Got{dd}:
554 match rest:
555 case Unmet{why}:
556 Unmet{why}
557 case Deps{ds}:
558 Deps{dd <> ds}