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

Fix Applicative-Monad for GHC 7.10.1 #16

Merged
merged 4 commits into from Jun 2, 2015
Merged

Fix Applicative-Monad for GHC 7.10.1 #16

merged 4 commits into from Jun 2, 2015

Conversation

ony
Copy link
Contributor

@ony ony commented May 31, 2015

No description provided.

David J. Haines and others added 4 commits March 4, 2012 13:27
Get rid of warnings in GHC 7.8.2:

Distribution/ArchLinux/PkgBuild.hs:291:10: Warning:
    ‘GetPKG’ is an instance of Monad but not Applicative - this will
    become an error in GHC 7.10, under the Applicative-Monad Proposal.

Distribution/ArchLinux/PkgBuild.hs:37:1: Warning:
    Module ‘Control.Monad.Instances’ is deprecated:
      This module now contains no instances and will be removed in the
      future

And error in 7.10.1:

Distribution/ArchLinux/PkgBuild.hs:291:10:
    No instance for (Applicative GetPKG)
      arising from the superclasses of an instance declaration
    In the instance declaration for ‘Monad GetPKG’

Fix according to
https://wiki.haskell.org/Functor-Applicative-Monad_Proposal#Missing_superclasses
@magthe
Copy link
Contributor

magthe commented Jun 2, 2015

I'm just curious, are you using this? And for what?

magthe added a commit that referenced this pull request Jun 2, 2015
Fix Applicative-Monad for GHC 7.10.1
@magthe magthe merged commit 1f7140f into archhaskell:master Jun 2, 2015
@ony
Copy link
Contributor Author

ony commented Jun 3, 2015

@magthe I tried it to bring some haskell packages into ArchLinux at home. Then I saw that cblrepo.
But at the end given up and switched to cabal-install in sandbox :)

@magthe
Copy link
Contributor

magthe commented Jun 4, 2015

I hope you've seen ArchHaskell and the accompanying repo at https://github.com/archhaskell/habs/.

What packages was it you were interested in?

@ony
Copy link
Contributor Author

ony commented Jun 15, 2015

@magthe I was interested in yesod with its family and ParserFunction. But most of packages on AUR are GHC-7.8.3.

Thank you for pointing to that ArchHaskell. I didn't looked into it that time. But looks like yesod only available at AUR.

@LeifW
Copy link
Member

LeifW commented Jun 28, 2015

This could use a version bump and an upload to hackage. I could submit a PR for the version bump and upload it to hackage myself? The current release on hackage doesn't build on GHC 7.10. Also, there's a few other outstanding PR's opened against this repo.

@ony
Copy link
Contributor Author

ony commented Jun 29, 2015

@LeifW as I understand this stuff is outdated and cblrepo is extended version of this.

@magthe
Copy link
Contributor

magthe commented Jun 30, 2015

@LeifW I'm not sure if the two ancient projects, archlinux and cabal2arch, have any raison d'etre nowadays. If they do, please feel free to work on them.

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

3 participants