def Caps.or
import bend-osdev-caps@0.1.0.0/caps.bend as Capsimport Base
551# the credentials after a call: the new ones, or c if it failed
552def Caps.or(r: Result<&2, &2, CapsError, CapCred>, c: CapCred) -> CapCred:
553 match r:
554 case Done{x}:
555 x
556 case Fail{e}:
557 c