Skip to content
Reflex library for building functional reactive terminal applications
Haskell Nix
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Add another example image Nov 5, 2018
reflex-platform Fix some version bounds; Remove GHC822 from CI; Build against stable … Aug 4, 2019
src-bin Create Reflex.Vty.Widget.Layout; Make shutdown cleaner on exceptions Aug 4, 2019
src Create Reflex.Vty.Widget.Layout; Make shutdown cleaner on exceptions Aug 4, 2019
.gitignore Add gitignore Nov 4, 2018
.travis.yml Fix some version bounds; Remove GHC822 from CI; Build against stable … Aug 4, 2019
CONTRIBUTING.md Add contribution guide, changelog, release.nix Aug 4, 2019
ChangeLog.md Version 0.1.1.0 Aug 4, 2019
LICENSE Update license Feb 27, 2018
README.md Update README.md Aug 16, 2019
Setup.hs Reflex host for Graphics.Vty Feb 25, 2018
reflex-vty.cabal
release.nix Fix some version bounds; Remove GHC822 from CI; Build against stable … Aug 4, 2019

README.md

reflex-vty hackage hackage-ci travis-ci

A library for building functional reactive terminal applications

reflex-vty example animation

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
You can’t perform that action at this time.