add_prelude_extensions

Function add_prelude_extensions 

Source
pub fn add_prelude_extensions<'a, H: HugrView<Node = Node> + 'a>(
    cem: CodegenExtsBuilder<'a, H>,
    pcg: impl PreludeCodegen + 'a,
) -> CodegenExtsBuilder<'a, H>
Expand description

Add a PreludeCodegenExtension to the given CodegenExtsBuilder using pcg as the implementation.