Skip to content
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

Add missing list methods #528

Open
Tracked by #526
mark-koch opened this issue Oct 2, 2024 · 0 comments
Open
Tracked by #526

Add missing list methods #528

mark-koch opened this issue Oct 2, 2024 · 0 comments

Comments

@mark-koch
Copy link
Collaborator

Most of these should be implementable via Guppy source following #522

github-merge-queue bot pushed a commit that referenced this issue Oct 3, 2024
Closes #530 and closes #524.

* Changes the signature of list methods to allow linear list elements
(implicitly using the inout feature).
* Removes methods that are not supported for now (see #528)
* Small change to the unification logic to be a bit laxer about
requiring matching `@owned` flags if one of the arguments is not linear
(otherwise we couldn't unify `L @owned` with any classical type). We'll
need to revisit that once we have flags that can be put on classical
types.

BREAKING CHANGE: Unsupported list methods have been removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant