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
I'll say this closes#380.
We could go further and add a type parameter in `Hugr<T: NodeHandle>`,
but that would probably be annoying to use and it'd break the pyo3
machinery.
Instead, most things should be interfacing via `HugrView`. #284 / #293
will move the builder references to views instead, so we will be able to
statically check the root type.
Allow mutable region views (and flat region views).
Along this, the internal
HugrMut
methods should be moved to a sealed trait, and make the regions implement the publicHugrMut
.Then we can add #246 to that public trait.
The text was updated successfully, but these errors were encountered: