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

Reduce redundancy across integer operations #294

Merged
merged 5 commits into from
May 9, 2013

Conversation

Ralith
Copy link
Contributor

@Ralith Ralith commented Apr 28, 2013

These changes reduce duplication of code for integer primitives both internally and in back ends.

@edwinb
Copy link
Contributor

edwinb commented May 2, 2013

Hmm. In general, I think I prefer it if the common case (FInt here) remains a single name. Perhaps FInt could be a smart constructor instead. The tutorial would also need updating to explain what's going on here.

edwinb added a commit that referenced this pull request May 9, 2013
Reduce redundancy across integer operations
@edwinb edwinb merged commit 8fed722 into idris-lang:master May 9, 2013
edwinb added a commit that referenced this pull request May 9, 2013
@edwinb
Copy link
Contributor

edwinb commented May 9, 2013

Sorry, I applied this but I've had to revert because it appears to break the tests. (I should have run them first but didn't!)

Please can you check again that everything works fine then resend, with the output from 'make test' as a comment? It seems to be a problem with type providers but I don't have time to look into it at the moment.

david-christiansen added a commit to david-christiansen/Idris-dev that referenced this pull request May 9, 2013
…d-int-primitives""

This reverts commit 05895a5.

This is to apply the fix.
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

Successfully merging this pull request may close these issues.

2 participants