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

Change argument order of Logic.ifElse #147

Open
joshsh opened this issue Feb 6, 2025 · 0 comments
Open

Change argument order of Logic.ifElse #147

joshsh opened this issue Feb 6, 2025 · 0 comments

Comments

@joshsh
Copy link
Collaborator

joshsh commented Feb 6, 2025

The ifElse primitive currently has the signature a -> a -> boolean. This has long been a minor source of annoyance, as the signature boolean -> a -> a is what one tends to expect while writing code.

Fix this. Some time. A lot of kernel code will have to be slightly rewritten, then re-generated into Haskell and Java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant