-
Notifications
You must be signed in to change notification settings - Fork 9
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
Compile errors #6
Comments
Thanks for pointing that out, I forget to check compatibility with GHC versions sometimes. Do you know why the first one is failing? Is Lens somehow incompatible? For the second case, do I need to import Applicative (which is redundant in recent version)? |
Re first problem: I need to look closer at the first problem; could also be a difference in type-checking capabilities between 7.10 and 8.0 For the second case it depends on whether you want to support GHC 7.8; if you don't want to, just declare the lower bound PS: Are you aware of https://github.com/hvr/multi-ghc-travis ? |
I wasn't aware of that repo, thanks for putting so much work into it! I use Circle-CI right now, but if you've got it set up so well on Travis I'm not opposed to making the switch (so long as I can figure out how to get stack working haha). Do you have a recommendation for a good lower bound which I should be supporting? I'd like to be responsible about supporting local versions, but seeing as how eve is an application framework it won't ever be imported into legacy projects or anything. Thanks for being patient with me on all of this, I'm pretty new to the Haskell Lib game, but I'm trying to figure it all out 😄 |
well, you don't have to give up circle-CI... just keep Circle-CI for testing w/ Stack, and simply enable/add Travis-CI for testing via Cabal (I can help you w/ the latter). As for lower/upper bounds: general rule of thumb I recommend is to set the bounds covering the major versions (as can be inferred by the PVP contract) of libraries that are covered by CI, as version bounds ought to declare which versions you as a developer expect your package to work with correctly (and so that the cabal solver doesn't pick configurations which are not expected to be compatible). So, e.g. if you only want to support GHC 8.0.* for now, then just set |
Okay that sounds good; I think I'll set |
On http://104.239.175.197:8080/package/eve there's currently compile failures for GHC 7.10 & GHC 7.8:
And previous releases wouldn't build with GHC 7.8 because of
The text was updated successfully, but these errors were encountered: