@hackage reflex0.9.4.0
Higher-order Functional Reactive Programming
Installation
Tested Compilers
Dependencies (38)
- MemoTrie >=0.6 && <0.7
- base >=4.11 && <4.22
- bifunctors >=5.2 && <5.7
- bytestring >=0.10.8 && <0.11
- commutative-semigroups >=0.1 && <0.3
- comonad >=5.0.4 && <5.1 Show all…
Dependents (45)
@hackage/codeworld-api, @hackage/reflex-fsnotify, @hackage/tinytools, @hackage/reflex-animation, @hackage/reflex-jsx, @hackage/reflex-backend-socket, Show all…
Package Flags
debug-trace-events
(off by default)
Add instrumentation that outputs the stack trace of the definition of an event whenever it is subscribed to. Warning: It is very slow!
fast-weak
(off by default)
Use the primitive implementation of FastWeak in GHCJS; note that this requires GHCJS to be built with FastWeak and FastWeakBag present in the RTS, which is not the default
debug-propagation
(off by default)
Enable debugging of spider internals
debug-cycles
(off by default)
Enable debugging of event cycles
split-these
(on by default)
Use split these/semialign packages
Reflex
Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.
Reflex is a fully-deterministic, higher-order Functional Reactive Programming interface and an engine that efficiently implements that interface.
Visit https://reflex-frp.org for more information, tutorials, documentation and examples.
Resources
- Official Website
- Quick Reference
- Reflex-DOM: A framework built on Reflex that facilitates the development of web pages, including highly-interactive single-page apps.
- Obelisk: A framework built on Reflex and Reflex-DOM for functional reactive web and mobile applications, with batteries included.
- Get started with Reflex
- #reflex-frp:matrix.org: Official Matrix room
- /r/reflexfrp
- irc.freenode.net #reflex-frp
Hacking
From the root of a Reflex Platform checkout, run ./scripts/hack-on haskell-overlays/reflex-packages/dep/reflex. This will check out the reflex source code into the haskell-overlays/reflex-packages/dep/reflex directory. You can then point that checkout at your fork, make changes, etc. Use the ./try-reflex or ./scripts/work-on scripts to start a shell in which you can test your changes.