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

unify Compose and Klesli #39

Open
marcosh opened this issue Feb 1, 2023 · 0 comments
Open

unify Compose and Klesli #39

marcosh opened this issue Feb 1, 2023 · 0 comments

Comments

@marcosh
Copy link
Owner

marcosh commented Feb 1, 2023

Currently we have both the Compose and Kleisli constructors. They are fairly similar, but both needed.

It would be nice to be able to unify them. This could depend on understanding a meaningful way to emit multiple outputs from the same machine (meaning that StateMachine a b could emit multiple outputs of type b). The main issue I see with this is understanding the return type of Parallel; if we just zip the results of two machines, we might loose stuff

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