lang::elim_lower
lang/src/elim_lower.mo
pub def elim_to_literal (scope : Scope) (e : Elim) : Result String TermThe 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_.