Skip to content

Commit

Permalink
feat: Make array repeat and scan ops generic over extension reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch committed Nov 26, 2024
1 parent c5c8a6f commit 896fe8b
Show file tree
Hide file tree
Showing 2 changed files with 232 additions and 34 deletions.
1 change: 1 addition & 0 deletions hugr-core/src/extension/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ lazy_static! {
NoopDef.add_to_extension(&mut prelude).unwrap();
LiftDef.add_to_extension(&mut prelude).unwrap();
array::ArrayOpDef::load_all_ops(&mut prelude).unwrap();
array::ArrayRepeatDef.add_to_extension(&mut prelude).unwrap();
array::ArrayScanDef.add_to_extension(&mut prelude).unwrap();

Arc::new(prelude)
Expand Down
Loading

0 comments on commit 896fe8b

Please sign in to comment.