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

Use swap from Data.Tuple #76

Merged
merged 2 commits into from
May 7, 2018
Merged

Use swap from Data.Tuple #76

merged 2 commits into from
May 7, 2018

Conversation

nobrakal
Copy link
Contributor

@nobrakal nobrakal commented May 6, 2018

While reading the code, I saw two different definitions of swap defined in Data.Tuple since base-4.3.0.0 .
Here is a fix.

@ivan-m
Copy link
Contributor

ivan-m commented May 7, 2018

I was about to say that it still uses a manual implementation because we were still providing support for older versions of base... but the oldest version of GHC that is tested against is 7.0.x which came with base 4.3, so I think it's fair enough to merge this.

Before I do, can you please also add a lower-bound to base in the .cabal file?

@nobrakal
Copy link
Contributor Author

nobrakal commented May 7, 2018

Great :)

I just added the lower bound to base.

@ivan-m ivan-m merged commit b232bd8 into haskell:master May 7, 2018
@ivan-m
Copy link
Contributor

ivan-m commented May 7, 2018

Ta!

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.

None yet

2 participants