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

Tuples #1566

Open
1 of 10 tasks
EmilyBourne opened this issue Oct 18, 2023 · 0 comments
Open
1 of 10 tasks

Tuples #1566

EmilyBourne opened this issue Oct 18, 2023 · 0 comments
Labels
Containers tuples/lists/sets/maps Epic

Comments

@EmilyBourne
Copy link
Member

EmilyBourne commented Oct 18, 2023

The current implementation of tuples is not satisfactory for 3 main reasons:

  1. Tuples as arguments/results are not handled
  2. Tuples are stored in TupleVariable classes which make them incompatible with classes
  3. Tuples are handled as a special case, but lots of things needed for tuples will also be needed for other containers (sets, maps, lists).

In order to fix the 2nd and 3rd problems, tuples should be treated using class notation. This should be straightforward for HomogeneousTupleVariables but is non-trivial for InhomogeneousTupleVariables.

The tasks are therefore:

Related issues:

@EmilyBourne EmilyBourne added the Containers tuples/lists/sets/maps label Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Containers tuples/lists/sets/maps Epic
Projects
None yet
Development

No branches or pull requests

1 participant