-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MonadUnliftIO instances for eligible carrier types. #420
Conversation
Thank you, @patrickt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Just a few notes.
@@ -33,6 +33,7 @@ import Control.Monad.Fail as Fail | |||
import Control.Monad.Fix | |||
import Control.Monad.IO.Class | |||
import Control.Monad.Trans.Class | |||
import Control.Monad.IO.Unlift (MonadUnliftIO) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whichever of this PR and #419 gets merged first should make sure to derive an instance for Choosing
as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…and should note it in the changelog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot this one.
Co-authored-by: Rob Rix <rob.rix@me.com>
As per @shinzui and @ocharles's request, and given that
unliftio-core
has avery small dependency footprint, we've decided to add
MonadUnliftIO
instances./hattip @ocharles for demonstrating that
InterpretC
supports this in #406.