reflex-vty: Reflex FRP host and widgets for vty applications

[ bsd3, frp, library, program, vty ] [ Propose Tags ]

Host and widget library for Reflex-based FRP applications


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.2.1, 0.1.3.0, 0.1.4.0, 0.1.4.1, 0.1.4.2, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.3.1.0, 0.3.1.1, 0.4.0.0, 0.4.1.0, 0.4.1.1, 0.5.0.0, 0.5.1.0, 0.5.2.0
Change log ChangeLog.md
Dependencies base (>=4.11.0 && <4.13), bimap (>=0.3.3 && <0.4), containers (>=0.5.0 && <0.7), data-default (>=0.7.1 && <0.8), dependent-map (>=0.2.4 && <0.4), dependent-sum (>=0.3 && <0.7), exception-transformers (>=0.4.0 && <0.5), mtl (>=2.2.2 && <2.3), primitive (>=0.6.3 && <0.7), ref-tf (>=0.4.0 && <0.5), reflex (>=0.6 && <0.7), reflex-vty, stm (>=2.4 && <2.6), text (>=1.2.3 && <1.3), time (>=1.8.0 && <1.9), transformers (>=0.5.5 && <0.6), vty (>=5.21 && <5.26) [details]
License BSD-3-Clause
Author Obsidian Systems LLC
Maintainer maintainer@obsidian.systems
Category FRP
Source repo head: git clone https://github.com/reflex-frp/reflex-vty
Uploaded by abrar at 2019-08-04T19:28:18Z
Distributions NixOS:0.5.2.0
Reverse Dependencies 2 direct, 0 indirect [details]
Executables example
Downloads 3602 total (60 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-08-04 [all 1 reports]

Readme for reflex-vty-0.1.1.0

[back to package description]

reflex-vty hackage travis

A library for building functional reactive terminal applications

reflex-vty example animation

Feature requests, pull requests, and other feedback are welcome and appreciated. 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