-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorthand HugrView method for "connected port" #499
Labels
enhancement
New feature or request
Comments
ss2165
added a commit
that referenced
this issue
Nov 13, 2023
Closes Shorthand HugrView method for "connected port" #499
ss2165
added a commit
that referenced
this issue
Nov 13, 2023
Closes Shorthand HugrView method for "connected port" #499
ss2165
added a commit
that referenced
this issue
Nov 13, 2023
Closes Shorthand HugrView method for "connected port" #499
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 15, 2023
- [x] Closes #495 - [x] Closes #521 - [x] Closes #655 - [x] Closes #499 - [x] Closes #506 - [x] Closes #653 - [x] `OpType::signature` returns option (non-dataflow ops don't return signature) - [x] Implement `try_into` from OpType references in to inner references. Doesn't necessarily do exactly as those issues specify - instead considers them holistically for a more unified interface. Easiest to review commit by commit. Uses rust_version crate to use return position impl for the new `HugrView` methods that return iterators. This will be stable with 1.75 (which enters beta in a few days). BREAKING_CHANGES: `OpType` and `FunctionType` methods renamed for clarity; `OpType::signature` returns `Option<FuncType>`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lots of places where we write things like:
And we are happy to unwrap because by linearity we know we can, so maybe a
linear_linked_port
method?The text was updated successfully, but these errors were encountered: