Unfortunately, I haven’t written any comprehensive documentation or tutorials yet, mainly because the reactive-banana library is still somewhat in flux.
This means that, at the moment, you’ll have to figure things out yourself from various sources, backed by a reasonably strong Haskell knowledge. What I can do here is to list the various sources and inspirations.
-
Documentation available for reactive-banana directly
- Really short introduction — mainly answers the question “Why do I need to know about Applicative Functors in order to understand reactve-banana?”
- Tutorial slides [PDF] — explain and visualize the concepts of Behavior and Event
- API Reference
- Example Code — The examples start simple and are really useful for understanding the library.
- Model implementation — Look at the source code. Useful for understanding the details of the programming model.
-
Since reactive-banana is based on Conal Elliott’s work, his writings are a good source
- “Functional Reactive Animation” — General, though somewhat outdated overview of FRP.
- “Declarative event-oriented programming” — Practial example that demonstrates the utility of FRP for GUI programming. Excellent introduction to the general programming philosophy.
- “Push-pull functional reactive programming” — Good read for understanding how the model is mapped to an API in terms of applicative and other functors.