GithubHelp home page GithubHelp logo

Comments (7)

akhra avatar akhra commented on June 19, 2024 1

Smooth transition, everything looks great!

from magicbane.

valpackett avatar valpackett commented on June 19, 2024

Yeah, I thought about this, but the dependency…

(And it's not exactly the RIO monad ­— MagicbaneApp derives many many more typeclasses! Including MonadMask which is necessary for monad-metrics.)

Does the rio library even define anything on RIO specifically? As far as I can tell, it mostly reexports functions that are defined on various typeclasses.

from magicbane.

akhra avatar akhra commented on June 19, 2024

Hm, good point. This might be something worth discussing directly with @snoyberg. There's a relevant open issue: commercialhaskell/rio#38

from magicbane.

valpackett avatar valpackett commented on June 19, 2024

hah, I saw this issue (but didn't realize you posted in it)

I also derive MonadBase IO, MonadBaseControl IO for various things. In general, it seems that RIO is aimed at minimal modern clean applications. What I'm going for here is maximum compatibility with whatever crap you can plug into a monad :D

from magicbane.

snoyberg avatar snoyberg commented on June 19, 2024

It may be reasonable to define a rio-orphans companion package that has all of those missing instances.

from magicbane.

akhra avatar akhra commented on June 19, 2024

^ This got done. RIO now has all the instances Magicbane does, plus bonus MonadResource and PrimMonad.

from magicbane.

valpackett avatar valpackett commented on June 19, 2024

Now using RIO, @tejon please test :)

from magicbane.

Related Issues (19)

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.