Build terminal applications using functional reactive programming (FRP) with Reflex FRP.
Go to file
2019-02-17 16:20:46 -05:00
doc Add another example image 2018-11-05 02:43:28 -05:00
src Add StackWidget 2019-02-17 16:20:46 -05:00
src-bin Add StackWidget 2019-02-17 16:20:46 -05:00
.gitignore Add gitignore 2018-11-04 11:48:45 -05:00
LICENSE Update license 2018-02-27 12:51:37 -05:00
README.md Add ghcid instructions 2018-11-05 08:08:26 +00:00
reflex-vty.cabal Add StackWidget 2019-02-17 16:20:46 -05:00
Setup.hs Reflex host for Graphics.Vty 2018-02-25 16:58:54 -05:00

reflex-vty

A library for building functional reactive terminal applications

reflex-vty example animation

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@gitlab.com:obsidian.systems/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.

Contributing

Feature requests, pull requests, and other feedback are welcome and appreciated. This library is still experimental, so big changes are possible!

Please make sure contributions have 100% haddocks coverage.