Skip to content

UnliftIO-ify the API #84

Open
Open

Description

@mitchellwrosen

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions