<p><br></p>
<p>On Tue, Dec 27, 2011 at 3:54 AM, Tim Baumgartner <<a href="mailto:baumgartner.tim@googlemail.com">baumgartner.tim@googlemail.com</a>> wrote:<br>
><br>
> Hi Haskellers!<br>
><br>
> I'm writing my first non-trivial Haskell application. I have an electronic drum set that generates MIDI events that I process with Haskell. A simple application of this kind might have fixed drums associated with fixed commands (I've done that). <br>
</p>
<p>[...] <br>
><br>
><br>
> Currently I'm using a monad that combines Parsec (with MIDI event stream) and a Writer (that writes commands that should result in IO). It's done in a way that during running the monad, many parses can be done and failing parses roll back the parser state so that a new parse can be tried.<br>
></p>
<p> <br>
Care to share your code?</p>
<p>amindfv / Tom</p>