Skip to main content

monomorphize

Function monomorphize 

Source
pub fn monomorphize<'a>(
    stmts: &[Stmt<'a>],
    registry: &TypeRegistry,
    interner: &mut Interner,
    arenas: Arenas<'a>,
    options: Options,
) -> Result<Monomorphized<'a>, String>
Expand description

Rewrite stmts into a program with no generic function, no applied generic type, and (under options.lower_option) no built-in Option.