Module prelude

Module prelude 

Source

Structs§

DefaultPreludeCodegen
A trivial implementation of PreludeCodegen which passes all methods through to their default implementations.
PreludeCodegenExtension

Traits§

PreludeCodegen
A helper trait for customising the lowering hugr_core::extension::prelude types, CustomConsts, and ops.

Functions§

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