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

[ bsd3, frp, library, program, vty ] [ Propose Tags ] [ Report a vulnerability ]
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, 0.5.2.1, 0.6.0.0, 0.6.1.0
Change log ChangeLog.md
Dependencies base (>=4.10.0 && <4.20), bimap (>=0.3.3 && <0.6), containers (>=0.5.0 && <0.7), data-default (>=0.7.1 && <0.8), dependent-map (>=0.4 && <0.5), dependent-sum (>=0.7 && <0.8), exception-transformers (>=0.4.0 && <0.5), exceptions (>=0.10 && <0.11), mmorph (>=1.1 && <1.3), mtl (>=2.2.2 && <2.4), ordered-containers (>=0.2.2 && <0.3), primitive (>=0.6.3 && <0.9), ref-tf (>=0.4.0 && <0.6), reflex (>=0.9.2 && <1), reflex-vty, stm (>=2.4 && <2.6), text (>=1.2.3 && <2.1), time (>=1.8.0 && <1.13), transformers (>=0.5.5 && <0.7), vty (>=6.0 && <6.3), vty-crossplatform (>=0.1 && <0.5) [details]
Tested with ghc ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.4.5 || ==9.6.1
License BSD-3-Clause
Copyright 2020 Obsidian Systems LLC
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 2024-11-11T04:00:37Z
Distributions NixOS:0.5.2.1
Reverse Dependencies 2 direct, 0 indirect [details]
Executables example
Downloads 3931 total (90 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for reflex-vty-0.6.1.0

[back to package description]

reflex-vty

Haskell Hackage BSD3 License

Build terminal applications using functional reactive programming (FRP) with Reflex FRP.

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 https://github.com/reflex-frp/reflex-vty.git
cd reflex-vty
nix-shell

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.
Selecting a compiler

When entering the nix-shell, you can select from the following compilers: ghc-8.10.7 and ghc-9.4.3. By default, ghc-8.10.7 is selected. To enter a shell with ghc-9.4.3, run:

nix-shell --argstr compiler ghc943

You may need to run cabal clean and cabal configure -w ghc-9.4.3 if you were previously working on the project with a different compiler.

With cabal

Please see the tested-with field of the cabal file for known-compatible versions of GHC.

From the reflex-vty project directory:

# nix-shell -p cabal-install binutils icu # for nix users
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