Skip to content

check-exercises: Fix warning with ghc >= 7.10. #154

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

Merged
merged 1 commit into from
Jun 20, 2016
Merged

check-exercises: Fix warning with ghc >= 7.10. #154

merged 1 commit into from
Jun 20, 2016

Conversation

rbasso
Copy link
Contributor

@rbasso rbasso commented Jun 18, 2016

This fixes the warning "The import of Control.Applicative is redundant" when compiling check-exercises caused by Prelude re-exporting Control.Applicative.<$> in base >= 4.8.

Removing the offending line is undesirable because it would break compiling if ghc <= 7.10.

Closes #122

This fixes the warning "The import of Control.Applicative is redundant"
cause by Prelude re-exporting Control.Applicative.<$> in base >= 4.8.

Removing the offending line is undesirable because it would break
compiling if ghc <= 7.10.
@petertseng
Copy link
Member

petertseng commented Jun 18, 2016

Seems good as I no longer see warning, so 👍

I'm grateful for the explanatory comments as well.

@rbasso rbasso merged commit cc37be5 into exercism:master Jun 20, 2016
@rbasso rbasso deleted the check-exercises-fix-ghc-7-10-warning branch July 1, 2016 00:27
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.

check-exercises.hs redundant import warning after GHC 7.10.x
2 participants