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

Fully implement ConstDict and improve API #431

Open
braxtonmckee opened this issue Feb 3, 2023 · 0 comments
Open

Fully implement ConstDict and improve API #431

braxtonmckee opened this issue Feb 3, 2023 · 0 comments

Comments

@braxtonmckee
Copy link
Collaborator

ConstDict is only partially implemented. It was originally intended to be a tree data structure but currently only the single-leaf-list form is implemented. Its also not fully compiled. Finally, the type coercion operators are not very well defined - for instance when you subtract anything from it, it tries to convert it to a TupleOf. What should we do if it fails - should we be raising NotImplemented and allowing reverse-operator behavior? Or should we simply be trying to iterate whatever we've been given and subtracting it.

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