lang::elim_lower

lang/src/elim_lower.mo

defelim_to_literal#
pub def elim_to_literal (scope : Scope) (e : Elim) : Result String Term

The Literal form of e, or a message naming the malformed minor. Bool-shaped elims become Literal.if_ (so the existing if codegen path, whose ensure_i1_cond anchors to the constructor NAMED true, is used unchanged); everything else becomes Literal.match_.