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

refactor(fetch): Loosen effect constraint for liftIO. #215

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

paulpdaniels
Copy link
Contributor

Closes #213

Fetch.liftIO really only requires LiftIO in addition to the Concurrent implicit constraint. Therefore we can loosen the constraint on the method to require a Concurrent and a LiftIO instead of a full ConcurrentEffect. Also collapses the the liftIO internals into a proxy call to liftF.

@purrgrammer purrgrammer merged commit bb6eb50 into xebia-functional:master Sep 16, 2019
@paulpdaniels paulpdaniels deleted the loosen-liftio branch September 17, 2019 02:14
bijancn pushed a commit to bijancn/fetch that referenced this pull request Sep 19, 2019
refactor(fetch): Loosen effect constraint for liftIO.
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

Successfully merging this pull request may close these issues.

Loosen type restrictions on liftIO
2 participants