mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-10-06 21:27:35 +03:00
30a6e32fee
Monoid instances should not be derived from underlying type where we want them to be type specific. Added tests to make sure they are correct. Other typeclass instances that are dependent on type specific behavior should also be independently defined rather than derived. Removed Alternative instances as they are not correct yet. Removed redundancy by using CPP macros to define instances of different types. |
||
---|---|---|
.. | ||
loops.hs | ||
nested-loops.hs | ||
parallel-loops.hs | ||
README.md |
For better examples see the Streamly.Examples module.
You can run these examples using stack
like this:
$ stack build
$ stack loop.hs