Code Monkey home page Code Monkey logo

Comments (3)

ivan-m avatar ivan-m commented on September 14, 2024

You added a minimum bound to transformers in your second code block; was that meant to be for containers instead?

I'm not sure I like the flag approach (though I can see now why the version of containers should depend upon whether deepseq is being used or not; I just blindly went by what GHC has rather than being compiler-agnostic).

I suppose the upper bound (if any) on containers would then go in the main build-depends block (or should it be taken out of there and only mentioned within the flag bit)?

from fgl.

hvr avatar hvr commented on September 14, 2024

You added a minimum bound to transformers in your second code block; was that meant to be for containers instead?

Yes, sorry... I've fixed the example

I'm not sure I like the flag approach (though I can see now why the version of containers should depend upon whether deepseq is being used or not; I just blindly went by what GHC has rather than being compiler-agnostic).

Just because GHC ships with a specific containers version doesn't guarantee cabal will pick that version for you (the solver has a soft preference for installed packages though). In fact, here's a compatibilty matrix:

containers

I suppose the upper bound (if any) on containers would then go in the main build-depends block (or should it be taken out of there and only mentioned within the flag bit)?

I'd put a global upper bound in the main build-depends as that's less error-prone
(and btw, the build-depends property is a conjunctive Monoid)

from fgl.

ivan-m avatar ivan-m commented on September 14, 2024

Whilst this works, it results in older GHC's having newer containers built on them on Travis-CI; making the default False results in containers being downgraded on 7.4.2.

Any idea how this can be resolved?

from fgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.