Skip to content
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

UnliftIO-ify the API #84

Open
mitchellwrosen opened this issue May 29, 2018 · 0 comments
Open

UnliftIO-ify the API #84

mitchellwrosen opened this issue May 29, 2018 · 0 comments

Comments

@mitchellwrosen
Copy link

Here is what unliftio has made of the async API:

https://hackage.haskell.org/package/unliftio-0.2.7.0/docs/UnliftIO-Async.html

The purpose of this abstraction is passing in transformer stacks on top of IO in the negative position, as in:

async :: MonadUnliftIO m => m a -> m (Async a)

What do you think of it? Assuming it is a good abstraction (I happen to think so but as far as I can tell the community is undecided), for organizational purposes, it would be great if async could pick up an unliftio-core dependency, then unliftio can stop mirroring the async API.

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant