Merge ControlVal into BergVal. Probably have a method returning Result<BergVal<'a>, BergVal<'a>> to make it easy to correctly shortcircuit when errors happen. Like val.raise_errors()?.
The intent here is to solidify the control flow model, whereby errors are just values, and most operations simply give up when they see them.
Merge
ControlValinto BergVal. Probably have a method returningResult<BergVal<'a>, BergVal<'a>>to make it easy to correctly shortcircuit when errors happen. Likeval.raise_errors()?.The intent here is to solidify the control flow model, whereby errors are just values, and most operations simply give up when they see them.