Functional Reactive Programming

The libraries in this subsection are as follows:

  • Elerea: Discrete-time FRP with a safe monadic interface
  • Yampa: Hybrid time FRP with first-class signal functions
  • Reactive-banana: Hybrid time FRP with simple semantics

FRP is handled in depth in Chapter 13, Functional Reactive Programming. There are more useful FRP libraries than the three listed here, and the balance between good semantics and performance in FRP is still taking shape.

Get Haskell High Performance Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.