readline-statevar

Readline with variables (setX/getY) wrapped in state vars

Latest on Hackage:1.0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed and maintained by Krzysztof Skrzetnicki

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.