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

(%) is fairly contentious #100

Closed
ekmett opened this issue Nov 20, 2012 · 1 comment
Closed

(%) is fairly contentious #100

ekmett opened this issue Nov 20, 2012 · 1 comment
Assignees
Milestone

Comments

@ekmett
Copy link
Owner

ekmett commented Nov 20, 2012

A pretty small but very vocal minority of #haskell users (ok, one, Yitzchak Gale) object strongly to the use of (%) for anything other than its one true purpose in Data.Ratio.

He did offer up a viable alternative in the form of (&) though.

Sadly this costs the consistency between (%~) and (%) where the former is "mod-equals" and the latter is the operator it is the use of, but it avoids the conflict.

@ekmett
Copy link
Owner Author

ekmett commented Nov 20, 2012

Initial refactoring to (&) took place here 2ec2d3b. After a patch or two more all the tests pass.

@ekmett ekmett closed this as completed Nov 20, 2012
@ghost ghost assigned ekmett Nov 21, 2012
This was referenced Nov 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant