You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Followup to #1587.
Ensures that rust `Package`s only contain module-rooted hugrs. Returns
errors at construction times if the condition is not met.
This required fixing `hugr-cli`, as it should be able to load both
packages and arbitrary hugrs.
Added `Package::from_hugr{,s}` methods that try to wrap the hugrs if
possible. We'll need these for tket2.
Packages are not on the spec yet, their description should include this
restriction. See #1388.
This PR does only modify the (unpublished) API introduced in #1587, so
I'm not marking it as breaking.
follow up from #1358
Specification needs to be updated to describe what a package is and how it can be well-formed (valid)
The text was updated successfully, but these errors were encountered: