readline-statevar: Readline with variables (setX/getY) wrapped in state vars

[ bsd3, library, utils ] [ Propose Tags ]
Dependencies base (>=4.1.0 && <5), readline (>=1.0.1 && <1.1.0), StateVar (>=1.0.0 && <1.1.0) [details]
License BSD-3-Clause
Author Krzysztof Skrzetnicki <>
Maintainer Krzysztof Skrzetnicki <>
Category Utils
Source repo head: git clone
this: git clone
Uploaded by KrzysztofSkrzetnicki at Sat Dec 5 18:28:20 UTC 2009
Distributions NixOS:
Downloads 476 total (5 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

readline package is a good wrapping library around libreadline.

Unfortunately, there is a lot of set/get pairs of functions, which clutter namespace. This kind of API can be nicely expressed as StateVars, as in HOpenGL.

readline-statevar seeks to fill this gap and provide nicer API based on StateVars.

For clarity: this module wraps only System.Console.Readline module. System.Console.SimpleLineEditor is left untouched.





Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees