Giter Club home page Giter Club logo

Comments (9)

Shimuuar avatar Shimuuar commented on June 14, 2024

Maybe just transformers would do? Both mtl and monads-tf build on top of transformers and provide type classes so one do not need to write counless lifts with large transformers stacks. I take a cursory look at source and it looks like banana do not really need those type classes

Just my 2 cents

from reactive-banana.

ehird avatar ehird commented on June 14, 2024

Yes, that would be a best-case solution, if it's possible.

from reactive-banana.

Shimuuar avatar Shimuuar commented on June 14, 2024

In fact code compiles with just changes to imports. I don't know whether it works or not but it compiles.

from reactive-banana.

HeinrichApfelmus avatar HeinrichApfelmus commented on June 14, 2024

You can hide packages from GHC by default with ghc-pkg hide monads-tf , maybe that helps for your immediate problem.
There are also package managers like cabal-dev for making project-specific local package databases.

Concerning mtl vs monads-tf, the idea was to deprecate mtl in the long run. I do need some monad classes, though, it probably won't compile with just transfomers. Not sure whether changing to mtl is a good idea, I'd have to check the community roadmap for the monad transformer stuff first.

from reactive-banana.

Shimuuar avatar Shimuuar commented on June 14, 2024

It does compile. I just emailed you a rather trivial patch which drops monads-tf

from reactive-banana.

ehird avatar ehird commented on June 14, 2024

That does help, thanks.

I agree that in the long run, the mtl should go. But, well, almost every package I have installed depends on the mtl, and exactly one depends on monads-tf.

from reactive-banana.

HeinrichApfelmus avatar HeinrichApfelmus commented on June 14, 2024

@Shimuuar: Ah, ok. I'll test your patch and apply it.

@ehird: In that case, I of course recommend to uninstall all the other packages. ;-)

from reactive-banana.

HeinrichApfelmus avatar HeinrichApfelmus commented on June 14, 2024

@Shimuuar: Thanks for the patch, I have now applied it.

from reactive-banana.

ehird avatar ehird commented on June 14, 2024

Great, thanks!

from reactive-banana.

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.