Skip to main content

declare_pipe_params

Function declare_pipe_params 

Source
pub fn declare_pipe_params<'a>(
    stmts: &[Stmt<'a>],
    arenas: Arenas<'a>,
    interner: &mut Interner,
) -> Vec<Stmt<'a>>
Expand description

The program with every pipe parameter declared as one: ch: Real a pipe parameter becomes ch: Pipe of Real, so each site that types a parameter by its declaration sees the pipe.