-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Context managers #33
Comments
@kurobako I'm thinking about something like this:
|
#28 STM: attempt to make it work with async
#28 STM: attempt to make it work with async
Documented in https://yatta-lang.org/docs/resource-management/ |
Introduce a new type of
with
expression. This expression will allow accessing and manipulating local context variables within the expression in the body of thewith
expression.Standard library module will be necessary to allow reading/writing context variables.
Syntax
Usecases
dict
/set
hasher, seedFurther considerations
async
)The text was updated successfully, but these errors were encountered: