hugr_core/
std_extensions.rsuse crate::extension::ExtensionRegistry;
pub mod arithmetic;
pub mod collections;
pub mod logic;
pub mod ptr;
pub fn std_reg() -> ExtensionRegistry {
ExtensionRegistry::try_new([
crate::extension::prelude::PRELUDE.to_owned(),
arithmetic::int_ops::EXTENSION.to_owned(),
arithmetic::int_types::EXTENSION.to_owned(),
arithmetic::conversions::EXTENSION.to_owned(),
arithmetic::float_ops::EXTENSION.to_owned(),
arithmetic::float_types::EXTENSION.to_owned(),
collections::EXTENSION.to_owned(),
logic::EXTENSION.to_owned(),
ptr::EXTENSION.to_owned(),
])
.unwrap()
}
lazy_static::lazy_static! {
pub static ref STD_REG: ExtensionRegistry = std_reg();
}