Skip to content

Change fixity of if_then_else_ in Class.ToBool to 0 #14

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

Open
carlostome opened this issue Feb 6, 2025 · 2 comments
Open

Change fixity of if_then_else_ in Class.ToBool to 0 #14

carlostome opened this issue Feb 6, 2025 · 2 comments

Comments

@carlostome
Copy link

carlostome commented Feb 6, 2025

This is to match the stdlib and Decidable

@carlostome carlostome changed the title Change fixity of if_then_else_ in ToBool to 0 Change fixity of if_then_else_ in Class.ToBool to 0 Feb 6, 2025
@WhatisRT
Copy link
Collaborator

This seems reasonable. @omelkonian I think you might have written this, do you know why it's currently at -10?

@omelkonian
Copy link
Collaborator

Don't remember, but even if there was some reason, it wouldn't be reason enough to deviate from the standard precedence of such a widely used syntactic construct.

👍 for changing to 0

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

3 participants