https://github.com/zyrolasting/kinda-ferpy
Functional-reactive model based by @MaiaVictor's PureState library
https://github.com/zyrolasting/kinda-ferpy
Last synced: 6 months ago
JSON representation
Functional-reactive model based by @MaiaVictor's PureState library
- Host: GitHub
- URL: https://github.com/zyrolasting/kinda-ferpy
- Owner: zyrolasting
- License: other
- Created: 2020-01-26T22:02:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T16:31:07.000Z (over 4 years ago)
- Last Synced: 2024-05-09T07:19:28.529Z (over 1 year ago)
- Language: Racket
- Homepage: https://docs.racket-lang.org/kinda-ferpy/index.html
- Size: 59.6 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://sagegerard.com/subscribe.html)
[](https://opensource.org/licenses/MIT)
[](http://docs.racket-lang.org/kinda-ferpy/index.html)
Kinda Ferpy is a restricted, yet convenient interface for functional reactive programming.
Signals/events and dependency relationships are implicit in how you write code, making
certain kinds of work super convenient and nice.
```
(require kinda-ferpy)
(define x (stateful-cell 1))
(define y (stateful-cell 1))
(define sum (stateful-cell (+ (x) (y))))
(displayln (sum)) ; 2
(y 8)
(displayln (sum)) ; 9
```
The implementation model is based on @MaiaVictor's [PureState][] library.
[PureState]: https://github.com/MaiaVictor/PureState