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

Failure to compile with older versions of GHC #20

Closed
ivanperez-keera opened this issue Oct 22, 2017 · 1 comment
Closed

Failure to compile with older versions of GHC #20

ivanperez-keera opened this issue Oct 22, 2017 · 1 comment

Comments

@ivanperez-keera
Copy link
Owner

Error message:

[ 8 of 23] Compiling Audio ( src/Audio.hs, dist/build/haskanoid/haskanoid-tmp/Audio.o )
src/Audio.hs:40:32: Not in scope: `<$>'
src/Audio.hs:58:32: Not in scope: `<$>'

Complete log: https://travis-ci.org/ivanperez-keera/haskanoid/jobs/291139506

Explanation: (<$>) was only available in Control.Applicative in older versions of the base library. Modules that use (<$>) should import Control.Applicative (<$>).

@ivanperez-keera
Copy link
Owner Author

To fix it, make sure that every module that uses (<$>) imports Control.Applicative (<$>).

A successful PR should compile fine on Travis CI.

ivanperez-keera added a commit that referenced this issue Oct 23, 2017
Code improvement. Closes #20 and #21.
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