@hackage keera-hails-reactivevalues0.8.0
Haskell on Rails - Reactive Values
Categories
License
BSD-3-Clause
Maintainer
support@keera.co.uk
Links
Versions
Installation
Dependencies (2)
- base >=4 && <5
- contravariant Show all…
Dependents (14)
@hackage/keera-hails-reactive-cbmvar, @hackage/keera-hails-reactive-network, @hackage/keera-hails-reactive-wx, @hackage/keera-hails-mvc-model-protectedmodel, @hackage/keera-hails-reactive-yampa, @hackage/titan, Show all…
Package Flags
test-hlint(on by default)
test-doc-coverage(on by default)
test-unit-tests(on by default)
This package contains a general definition of Reactive Values and several useful combinators. A reactive value is a typed mutable value with access properties and change propagation. Access property can be read-only, read-write or read-write.
How an RV is actually implemented, and when and how change propagation is executed is dependent on each RV. For instance, Gtk widget properties would normally use the standard event-handler installers to implement change propagation, whereas pure Haskell values might fork a thread (or not) and propagate changes asynchronously.
RVs can be created from pure models (see <https://github.com/keera-studios/keera-hails/tree/master/keera-hails-mvc-model-lightmodel keera-hails-mvc-model-lightmodel> and <https://github.com/keera-studios/keera-hails/tree/master/keera-hails-mvc-model-protectedmodel keera-hails-mvc-model-protectedmodel>), Gtk+/WX/Qt/HTML DOM/Android widget properties/event handlers/getters/setters, files, sockets, FRP networks. Other backends are also available. See keera-hails for a list of available backends, tutorials, etc.