Skip to main content

inline

Function inline 

Source
pub fn inline(
    cx: &mut dyn BatchCx,
    f: &Function,
    args: &[Atom],
) -> Result<Vec<Atom>>
Expand description

Emits the equations of f applied to args into cx, and returns the outputs.

ยงErrors

Returns an error if a primitive rejects its inputs, or if args do not match the inputs of f.