<div dir="ltr"><div>The implementation in STM works well and certainly ticks the battle-tested box:</div><div><br></div><a href="https://hackage.haskell.org/package/stm-2.4.4.1/docs/Control-Concurrent-STM-TChan.html#v:newBroadcastTChan">https://hackage.haskell.org/package/stm-2.4.4.1/docs/Control-Concurrent-STM-TChan.html#v:newBroadcastTChan</a><br><div><br></div><div>Cheers,</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 January 2017 at 10:52, Saurabh Nanda <span dir="ltr"><<a href="mailto:saurabhnanda@gmail.com" target="_blank">saurabhnanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>(cross-posted from Reddit because I'm not sure of the audience overlap between haskell-cafe & reddit)</div><div><br></div><div>I want to broadcast some instrumentation data from deep within my Haskell app. This data will have listeners in some environments (say, debug), but not others (say, production). Which library should I be using? A little searching threw two possible candidates:</div><div><br></div><div>* <a href="http://hackage.haskell.org/package/split-channel" target="_blank">http://hackage.haskell.org/<wbr>package/split-channel</a></div><div>* <a href="https://hackage.haskell.org/package/broadcast-chan" target="_blank">https://hackage.haskell.org/<wbr>package/broadcast-chan</a></div><div><br></div><div>But, I'm not sure if these are battle-tested. Any help would be appreciated.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Saurabh.</div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>