#functional-reactive-programming #reactive-programming #functional-programming #frp #functional #truc #machin

bidule

Ultra simple Functional Reactive Programming, made with stuff, things, device, thingumajig, etc

7 releases

Uses old Rust 2015

0.2.0 Aug 19, 2020
0.1.5 Jan 23, 2018

#11 in #functional-reactive-programming

BSD-3-Clause

20KB
217 lines

bidule, a Rust FRP crate

Build Status crates.io docs.rs License

bidule is a very simple FRP library built over functional concepts. The basic, most core concept is the Stream<Sig>, which is a stream of typed signals. A stream of signals will get a signal as input and will broadcast it downwards. You can compose streams with each other with very simple combinators, such as map, filter, filter_map, zip, unzip, merge, fold, sink, etc.

bidule is intended to be used directly as-is and can be the starting point of any higher abstracted FRP-driven programming (e.g. video game, GUI, animation, etc.).

Feel free to have a look at the documentation for a better understanding on how everything composes and work.

No runtime deps