mirror of
https://github.com/ilyakooo0/reflex-vty.git
synced 2024-11-22 10:53:32 +03:00
Build terminal applications using functional reactive programming (FRP) with Reflex FRP.
909ca10768
* origin/develop: Version 0.1.3.0 Loosen reflex version bounds; Update reflex-platform Add scrollableText and example usage |
||
---|---|---|
doc | ||
reflex-platform | ||
src | ||
src-bin | ||
.gitignore | ||
.travis.yml | ||
ChangeLog.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
reflex-vty.cabal | ||
release.nix | ||
Setup.hs |
reflex-vty
A library for building functional reactive terminal applications
Feature requests, pull requests, and other feedback are welcome and appreciated (see the contribution guide). This library is still experimental, so big changes are possible!
How to Build
With reflex-platform
Enter a nix-shell for the project:
git clone git@github.com:reflex-frp/reflex-platform
git clone git@github.com:reflex-frp/reflex-vty
cd reflex-vty
../reflex-platform/scripts/work-on ghc ./.
From within the nix-shell you can:
- Run the example:
cabal repl example
- Load the library in the repl:
cabal repl reflex-vty
- Build the example executable:
cabal build example
- Build the docs:
cabal haddock
- Run ghcid for immediate compiler feedback when you save a .hs file:
ghcid -c "cabal repl reflex-vty --ghc-options=-Wall"
- etc.
With cabal
Please see the tested-with
field of the cabal file for known-compatible versions of GHC.
From the reflex-vty project directory:
cabal new-configure
cabal new-build # to build the library and example
cabal new-repl # to enter a repl for the library
cabal new-repl example # to enter a repl for the example executable