You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hareactive implements classic FRP. This means that it makes a distinction
between behaviors and streams (what Hareactive calls streams is often called
event). As for why that distinction is useful see the blogpost Behaviors and
streams, why both?.
Behaviors in Hareactive are monads. Monadic behaviors are essential for many
practical purposes. Behaviors in Hareactive can be continuous, i.e. change
infinetly often. Among other things this means that Hareactive support continous
time and integration.
Hareactive supports stateful behaviors (i.e. behaviors that depends on the
past). It does so while avoiding the problems with space and time leaks that
FRP are notorius for.
A key focus is to implement a simple precise semantic model following in the
spirit of Conal Elliott. The semantics serve as a specification for determining
the correctness of the implementation. Additionally, it is a mental model which
can be used to reason about the library.
Hareactive is implemented in carefully optimized TypeScript.
Install
npm i @funkia/hareactive
bower install --save purescript-hareactive