commercialhaskell / rio

A standard library for Haskell
Other
838 stars 54 forks source link

Does the RIO monad work with other preludes? #183

Open bbarker opened 5 years ago

bbarker commented 5 years ago

I've already written an my app on top of classy-prelude and generally am quite happy with it, which I don't feel afraid to say here since I know the author of that package is the primary author of RIO as well!

It wasn't clear from the docs what the recommended course of action would be in this case. If they aren't compatible, maybe the best thing is to create a RIO on top of classy-prelude?

snoyberg commented 5 years ago

They should work together just fine. IIRC, classy-prelude is currently using MonadUnliftIO-variants of functions, which is fully compatible with RIO. If you see incompatibilities, I'd be interested in hearing what they are.