[reactive] FRP, continuous time and concurrency
patai_gergely at fastmail.fm
Wed Jun 10 07:25:46 EDT 2009
> Anyway, can you give any implementation of this example using the
> reactive library?
If b and c are signals (or behaviours as they are called in Reactive)
carrying Num values of the same type, you can simply say a = b + c, and
you're done. Signal a will be updated only when either b or c is
updated. Note that this must be understood in the context of laziness,
i.e. not a single sum is calculated until a sample of a is requested.
http://www.fastmail.fm - One of many happy users:
More information about the Reactive