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

Remove singleton tuples #418

Closed
damonbayer opened this issue Aug 28, 2024 · 1 comment
Closed

Remove singleton tuples #418

damonbayer opened this issue Aug 28, 2024 · 1 comment
Labels
clean up Good code that could be better

Comments

@damonbayer
Copy link
Collaborator

Early on we established a pattern of always returning tuples from RandomVariables. This has proven rather unergonomic, and results in many instances of code like x[0].value, when we could instead have x.value if we did not return a singleton tuple.

@damonbayer
Copy link
Collaborator Author

Closed in #441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean up Good code that could be better
Projects
None yet
Development

No branches or pull requests

1 participant