Merge pull request #8 from snoyberg/master

stm-chans 3.0
Bumped version number for release.
Add new module Data.Conduit.Async
Merge pull request #9 from jwiegley/master

Add new module Data.Conduit.Async
Added test case that causes the $$& operator to deadlock

I discovered a deadlock, which occurred in the use of the
$$& operator. Here is the code snippet to reproduce the
deadlock:

C.sourceList [1..100] $$& C.fold (+) 0
*** Exception: thread blocked indefinitely in an STM transaction
fix for the deadlock with $$& operator

The problem was that the sender of a TBMChan did not sent a sentinel value to
the receiver to signalize the end of the transmission. This caused the receiver
of the channel to wait for incomming values forever.
Merge pull request #11 from svenkeidel/bug-async-operator-deadlock

Bug async operator deadlock
version bump
Add a gatherFrom convenience function
Add omitted .cabal changes
Add tests for buffer and gatherFrom
General cleanup of extensions and export lists.
Version number bump.
poke travis
poke travis
Add a drainTo function, dual to gatherFrom
Missing export added.
version bump
Change sink* family of functions according to issue-14.

Add additional parameter that shows is the underlying data
structure should be closed.

Also documentation were improved.

X-Reported-By: Michael Snoyman
X-Bug-Url: https://github.com/wowus/stm-conduit/issues/14
Clarified the documentation.