Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Proposal for an IO interpreter #13

Open
VledicFranco opened this issue Aug 6, 2018 · 2 comments
Open

Proposal for an IO interpreter #13

VledicFranco opened this issue Aug 6, 2018 · 2 comments
Assignees

Comments

@VledicFranco
Copy link
Collaborator

After composing the API, we need to convert the resulting data structure into executable IOs. Propose a simple interpreter (a function from Behaviour[A] to IO[A]) to test our examples and see them running

@kolov
Copy link
Contributor

kolov commented Aug 21, 2018

What about Sink, as defined in Chapter 8 of the paper? Something about Events is implemented, extend it for Behaviour.

@kolov kolov self-assigned this Aug 25, 2018
@kolov
Copy link
Contributor

kolov commented Aug 25, 2018

Proposal: implement Sink, as defined in chapter 8 in the book - see https://github.com/scalaz/scalaz-reactive/blob/d1cc9027658527e4436c665e14d489cbf9c21f79/core/src/main/scala/scalaz/reactive/Sink.scala

Given that at the moment our Future is an IO, Sink naturally produces another IO[Void,()].

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

No branches or pull requests

2 participants