Skip to content

Conversation

@typhonshambo
Copy link
Contributor

  • added section for lazyvar

- added section for lazyvar
@typhonshambo
Copy link
Contributor Author

typhonshambo commented Mar 12, 2025

  • added section for lazyvar

to resolve : #2426

Copy link
Collaborator

@facundominguez facundominguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @typhonshambo! I contributed some edits.


## Lazy Variables

A variable can be specified as `lazyvar` to defer its checking until it is used. This is useful in cases where a variable is defined in a `where` clause and should only be checked in the context where it is used.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A variable can be specified as `lazyvar` to defer its checking until it is used. This is useful in cases where a variable is defined in a `where` clause and should only be checked in the context where it is used.
A definition can be specified as `lazyvar` to have it checked in the environment
where it is used. This is useful in cases where a variable is defined in a
`where` clause but the conditions that make it acceptable are only available in
the use site.

@facundominguez facundominguez merged commit a21bd66 into ucsd-progsys:develop Mar 12, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants