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

Lazy state: improve clarity #838

Open
josephjclark opened this issue Dec 4, 2024 · 0 comments
Open

Lazy state: improve clarity #838

josephjclark opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@josephjclark
Copy link
Collaborator

We need to improve clarity on a few things in lazy state

  • Lazy state only works at the top level (not inside callbacks). I don't think we'll enforce this (I don't know how well we can?!) but we can document it at least. We should also make sure that the compiler stops traversal inside a new scope.
  • Set up some clear wording that lazy state basically only applies to the parent function - it won't smartly walk up to the nearest operation. See discussion at Lazy state: doesn't work in non-operation function arguments #745 (comment)

This means updating docs, and maybe some unit tests in this repo

@josephjclark josephjclark self-assigned this Dec 4, 2024
@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant