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

Update CanvasIO to be backed by a RIO implementation #28

Merged
merged 2 commits into from
Aug 9, 2020
Merged

Conversation

JD557
Copy link
Owner

@JD557 JD557 commented Aug 9, 2020

After writing some more advanced code, the lack of a "normal" IO monad makes writing effectful code (e.g. accessing a server) a bit awkward.

Also, when looking into scala IO monads, it seems that they don't care that much for scala native supports. Since the CanvasIO[A] was just a RIO[Canvas, A], I just implemented a RIO monad/profunctor.

This might help with #19 (I might end up using a RIO[Input, A] for this, not sure yet) and #18.

@JD557 JD557 added this to the 0.1.6 milestone Aug 9, 2020
@JD557 JD557 merged commit b49f1ca into master Aug 9, 2020
@JD557 JD557 deleted the add-rio branch August 19, 2020 20:17
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.

1 participant