I've actually looked down that particular rabbit hole.  Here's a link to a monoid for pipes that represents a branch:

https://github.com/tonyday567/pipes-extended/blob/master/src/Pipes/Monoid.hs#L81

For flavour, the computation involves hoisting and lifting back and forth over several layers, as the various meta-physical wires cross.  That was years ago, but I haven't seen anything since.  It looks like Pipes is the wrong abstraction point to stream with branching.  I wonder what is?

On Wed, Sep 28, 2016 at 9:59 PM, Carter Schonwald <carter.schonwald@gmail.com> wrote:
Nope :)

And I think we are still learning how to do stream.  Have have streaming in a line down pat, but streaming with a DAG or general graphs wendontnhave yet ;)


On Wednesday, September 28, 2016, Tom Ellis <tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> wrote:
On Mon, Sep 26, 2016 at 08:56:55PM -0500, Christopher Allen wrote:
> Streaming is a good example here. It's not "obvious" how to do many
> things in Haskell that are "obvious" in other languages. Partly
> because industry hasn't used languages like Haskell much, partly
> because the canvas we work with permits more structure.

Is it obvious how to do streaming in other languages?
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.