def env.check.done
import shake@0.7.0.0/src/cli.bend as Cliimport Base
1731# a success, or the first env value outside its choices that it bound
1732def env.check.done(bad: Maybe<&2, Var>, +mm: Matched) -> Result<&2, &2, ParseErr, Matched>:
1733 match bad:
1734 case None{}:
1735 Done{mm}
1736 case Some{pp}:
1737 (+name, +vv) = pp
1738 Fail{BadValue{path_of(mm), name, vv}}