[Haskell-cafe] ANN: Moio, a library for compositional event-driven programming

Patai Gergely patai_gergely at fastmail.fm
Mon Jul 26 14:17:26 EDT 2010

Hello all,

I created a little library that provides first-class event sources and
event stream transformers, both allowing side effects. For the time
being, the code is only available on GitHub [1]. The library is called
Moio, short for 'multiple-occurrence I/O', since event sources are
effectively a generalisation of the IO monad that outputs a stream of
values over time instead of just a single result at the end of its
execution. To summarise in a short phrase, Moio could be considered as
'Rx meets Fudgets', but that's only a superficial characterisation.

Check out the example application, a simple bulletin board server, which
shows how to treat a callback-based GTK GUI and blocking I/O based
networking uniformly using the abstractions provided.


[1] http://github.com/cobbpg/moio

http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again

More information about the Haskell-Cafe mailing list