Const-prop-expr-option
Propagate a constant through a c$::expr-option.
- Signature
(const-prop-expr-option expr? env)
→
(mv new-expr? value? new-env)
- Arguments
- expr? — Guard (expr-optionp expr?).
- env — Guard (envp env).
- Returns
- new-expr? — Type (expr-optionp new-expr?).
- value? — Type (c::value-optionp value?).
- new-env — Type (envp new-env).