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

Add expression form of with #76

Open
Technologicat opened this issue Jun 6, 2021 · 0 comments
Open

Add expression form of with #76

Technologicat opened this issue Jun 6, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Technologicat
Copy link
Owner

We already have raisef and tryf, functional loops, the do[] macro to write imperative code in an expression position... the last missing major piece of the puzzle is to support invoking context managers in an expression position.

So, in a future release, let's add a withf, in the spirit of the already existing tryf.

And then update the rant in doc/design-notes.md.

@Technologicat Technologicat added the enhancement New feature or request label Jun 6, 2021
@Technologicat Technologicat added this to the 0.15.x milestone Jun 6, 2021
@Technologicat Technologicat modified the milestones: 0.15.x, 0.15.1 Jun 22, 2021
@Technologicat Technologicat modified the milestones: 0.15.1, 0.15.2 Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant