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 conditional return values #87

Open
JamesHutchison opened this issue May 16, 2023 · 0 comments
Open

Add conditional return values #87

JamesHutchison opened this issue May 16, 2023 · 0 comments
Labels
deprioritized No urgency to resolve this enhancement New feature or request

Comments

@JamesHutchison
Copy link
Owner

You can currently due this via a side_effect function that takes in arguments and returns a value based on what they are. I wonder if there's an opportunity to leverage the match functionality to make it easy to streamline this sort of thing in an intuitive way.

If its not an obvious improvement over using side_effect, I would opt to omit the functionality.

@JamesHutchison JamesHutchison added the enhancement New feature or request label May 16, 2023
@JamesHutchison JamesHutchison added the deprioritized No urgency to resolve this label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprioritized No urgency to resolve this enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant