prompt: Monad (and transformer) for deferred-effect pure prompt-response queries
Monad (and transformer) for delayed-effect "pure" prompt-and-response queries.
Allows you to specify programs that might query a database, talk to stdio, etc., without ever involving IO or opening the door to arbitrary IO. Write a potentially pure computation describing prompting interactions, etc., without having your type actually do any IO or involve itself with IO or any effectful context.
Useful as a source of "things from IO", without ever actually involving IO or arbitrary IO itself; only executing a specific subset of IO (or State, etc.) that you yourself, the caller, specifies explicitly. Safer and more meaningful type.
For more information and instructions on usage with examples, see the README.
Not quite related to the MonadPrompt library.
[Skip to Readme]
|Versions [faq]||0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2 (info)|
|Dependencies||base (>=4.6 && <5), base-compat, mtl, transformers, transformers-compat [details]|
|Copyright||(c) 2015 Justin Le|
|Source repo||head: git clone git://github.com/mstksg/prompt.git|
|Uploaded||by jle at Thu May 26 22:25:35 UTC 2016|
|Distributions||LTSHaskell:0.1.1.2, NixOS:0.1.1.2, Stackage:0.1.1.2|
|Downloads||1594 total (69 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs available [build log]
Last success reported on 2016-11-25 [all 1 reports]
For package maintainers and hackage trustees