Giter Site home page Giter Site logo

Comments (4)

Fuuzetsu avatar Fuuzetsu commented on May 28, 2024 1

stm change: ee84fe2
hashable change: haskell-unordered-containers/hashable@b618850

Looking at stm change, it has been the case for 3 years and only impacts compiler versions before 7.10... Seems surprising to hit this now.

from stm.

sol avatar sol commented on May 28, 2024

It's not the stm change that pulled in those dependencies, it's the recent change to hashable.

from stm.

bgamari avatar bgamari commented on May 28, 2024

stm only depends upon nats when built with rather old GHC versions. Moreover, the hashable dependency of nats is optional via the hashable flag. Perhaps this addresses your concern?

from stm.

sol avatar sol commented on May 28, 2024

In my specific situation it works to just "vendor" a copy of stm-2.5.0.1/Control/Concurrent/STM/TMVar.hs. This is not beautiful but saves me 10 dependencies for older versions of GHC:

  • base-orphans
  • functor-classes-compat
  • generic-deriving
  • hashable
  • mtl
  • nats
  • stm
  • text
  • th-abstraction
  • transformers-compat

As for stm depending on nats: It's probably too late to do something about it. However, personally, I can't justify the benefit to weight ratio of that change***.

*** Not only because of the nats dependency, but also because it was technically a breaking change for, by my standards, little tangible benefit.

from stm.

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.