HeinrichApfelmus/reactive-banana
Fork: 70 Star: 523 (更新于 2024-12-01 22:29:46)
license: 暂无
Language: Haskell .
Library for functional reactive programming in Haskell.
最后发布版本: v1.3.1.0 ( 2022-08-13 21:55:30)
Reactive-banana
What's this?
Reactive-banana is a library for Functional Reactive Programming (FRP), written in Haskell.
See the project homepage for documentation, examples and so on.
Installation
Compilation from the repository
To build and install the core library from the source repository, simply type
cd reactive-banana && cabal install && cd ..
However, to try out the GUI examples, you have to install one of the of the additional packages.
GUI examples using wxHaskell
Prerequisites: the wxHaskell package
cabal install wx
Note that you need to have a development version of the wxWidgets libraries installed before building wx. If you run into ExitFailure 1
exceptions, please follow the wxHaskell Quick Start instructions and try again.
To build the wx examples, type
cd reactive-banana-wx
cabal configure -fbuildExamples && cabal build
cd ..
Technical overview
How is the source code structured?
The project contains several directories:
-
reactive-banana
— the core library -
reactive-banana-wx
— bindings to the wxHaskell GUI library, includes many examples
The reactive-banana library actually contains two FRP implementations:
- Reactive.Banana.Model - A model implementation for testing and understanding the semantics. You are encouraged to look at the source code.
- Reactive.Banana.Prim - The efficient push-driven implementation used for production code. Contains hard to understand trade secrets. ;-)
License
The source code is distributed under a BSD3 license. See the LICENSE
files in the corresponding subdirectories.
The reactive-banana mascot [png] is licensed under a Creative Commons Attribution 4.0 International License with attribution to Heinrich Apfelmus and the reactive-banana library.
Contributors
Many thanks to everyone who contributed, provided feedback or simply wrote an application using Reactive-Banana! In particular, many thanks to:
Alexander Berntsen, Oliver Charles, Samuel Gélineau, Vladimir Lopatin, Atze van der Ploeg, Mitchell Rosen, and many others.
Special thanks to Oliver Charles and Mitchell Rosen for co-maintaining this project!
主题(topics):
frp, haskell, reactive-banana-library
HeinrichApfelmus/reactive-banana同语言 Haskell最近更新仓库
2024-08-22 12:09:58 ivanperez-keera/dunai
2024-05-25 09:59:31 reflex-frp/reflex-vty
2024-05-05 03:36:38 PostgREST/postgrest
2023-11-11 06:13:10 clash-lang/clash-compiler
2016-10-03 14:00:16 z0w0/helm
1970-01-01 00:00:00 gelisam/frp-zoo