streamly/examples
Harendra Kumar 30a6e32fee Fix Monoid and other instances
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.
2018-04-22 15:59:09 +05:30
..
loops.hs Fix Monoid and other instances 2018-04-22 15:59:09 +05:30
nested-loops.hs Use only runStream to run streams with optional combinators 2018-04-18 15:26:15 +05:30
parallel-loops.hs Use only runStream to run streams with optional combinators 2018-04-18 15:26:15 +05:30
README.md Add note about the canonical examples 2017-11-21 02:50:15 +05:30

For better examples see the Streamly.Examples module.

You can run these examples using stack like this:

$ stack build
$ stack loop.hs