title: What is the equivalent of reactive-web's flatMap in Haskell's reactive-banana?
body: <p>I'm looking for the function in reactive-banana that will choose from which event stream to emit next depending on the incoming value of another event stream or signal (Behaviour ?). In the library for scala, reactive-web this is done with:</p>
  
  <pre><code> flatMap[U](f: T =&gt; EventStream[U]): EventStream[U] 
  </code></pre>
  
  <p>thanks !</p>