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

Fallback operator #1

Open
jpearll opened this issue Jan 11, 2023 · 1 comment
Open

Fallback operator #1

jpearll opened this issue Jan 11, 2023 · 1 comment

Comments

@jpearll
Copy link

jpearll commented Jan 11, 2023

Hi, would it be possible to have a fallback operator instead of using a complementary operator (i.e. > and <=)?

@sgrodriguez
Copy link
Owner

Fallback is an interesting feature.
I don't think the operator has to take the responsibility of fallbacking, an alternative could be a fallback node. After comparing all the node's childs, if no one satisfies the condition, continue with the fallback node or return an error.

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

No branches or pull requests

2 participants