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

Add tests #33

Open
treeowl opened this issue Aug 25, 2017 · 1 comment
Open

Add tests #33

treeowl opened this issue Aug 25, 2017 · 1 comment

Comments

@treeowl
Copy link

treeowl commented Aug 25, 2017

There doesn't seem to be a test suite. I would recommend adding, at least:

  1. Modules implementing the entire non-internal streaming API using FreeT instead of Stream. I think these might as well be exposed, so users can play with them.

  2. Tests verifying that Stream operations behave the same as their FreeT equivalents. See my old SO question How can I test functions polymorphic over applicatives for some ideas about being arbitrary. In this case, I suspect we want to use functors built from algebraic bits (Sum, Product, Compose, Identity, Const) for f parameters, and free monads over such functors for m parameters.

@andrewthad
Copy link
Contributor

This is no longer the official repo for streaming. Please continue discussion of this issue here.

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

2 participants