Comments (7)
Smooth transition, everything looks great!
from magicbane.
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.
Hm, good point. This might be something worth discussing directly with @snoyberg. There's a relevant open issue: commercialhaskell/rio#38
from magicbane.
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.
It may be reasonable to define a rio-orphans
companion package that has all of those missing instances.
from magicbane.
^ This got done. RIO
now has all the instances Magicbane
does, plus bonus MonadResource
and PrimMonad
.
from magicbane.
Now using RIO, @tejon please test :)
from magicbane.
Related Issues (19)
- Suggest changing license from UNLICENSE/public domain to BSD3 HOT 2
- Examples won't build in stackage LTS-9.0 HOT 4
- fails to build with either-5
- Poor type interaction with :<|> HOT 3
- (discussion) Keeping an eye on RIO? HOT 9
- magicbane-0.2.0 build failure with http-conduit-2.3 HOT 4
- Call for Testing: No more ExceptT HOT 3
- Set a default User-Agent header when making Request objects HOT 3
- "instance HasModLogger a => HasLogFunc a" overlaps on bare LogFunc HOT 5
- Name conflict with RIO on fromString
- {instance (Default α) ⇒ DefConfig α} breaks things HOT 3
- Consider dropping Data.Has HOT 3
- Overlapping instances for HasLogFunc SimpleApp HOT 3
- Exception Handling HOT 2
- Example "larger.hs" doesn't compile in stack lts-12.21 HOT 5
- Conflicting exports for 'host' when building against latest wai-cli HOT 1
- magicbane-0.4.1 not found on Hackage HOT 1
- Unable to use with Servant Server 0.18.1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicbane.